remove nats-msg-id
This commit is contained in:
parent
0c5ad7e692
commit
031b062277
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user