remove nats-msg-id

This commit is contained in:
Egor Aristov 2025-01-19 17:34:56 +03:00
parent 0c5ad7e692
commit 031b062277
Signed by: egor3f
GPG Key ID: 40482A264AAEC85F

View File

@ -79,7 +79,7 @@ func (na *NatsAdapter) ProcessWorkCached(
ctx, ctx,
fmt.Sprintf("%s.%s", SubjectPrefix, cacheKey), fmt.Sprintf("%s.%s", SubjectPrefix, cacheKey),
taskPayload, taskPayload,
jetstream.WithMsgID(cacheKey), //jetstream.WithMsgID(cacheKey),
) )
if err != nil { if err != nil {
return nil, fmt.Errorf("nats publish error: %v", err) return nil, fmt.Errorf("nats publish error: %v", err)