debugging nats...

This commit is contained in:
Egor Aristov 2025-01-18 17:47:06 +03:00
parent 9bfe51f9c8
commit 86c0d10b1c

View File

@ -30,6 +30,7 @@ func New(natsc *nats.Conn) (*NatsAdapter, error) {
Subjects: []string{fmt.Sprintf("%s.>", SubjectPrefix)}, Subjects: []string{fmt.Sprintf("%s.>", SubjectPrefix)},
Retention: jetstream.WorkQueuePolicy, Retention: jetstream.WorkQueuePolicy,
Duplicates: DedupWindow, Duplicates: DedupWindow,
AllowDirect: true,
}) })
if err != nil { if err != nil {
return nil, fmt.Errorf("create js stream: %w", err) return nil, fmt.Errorf("create js stream: %w", err)