debugging nats...

This commit is contained in:
Egor Aristov 2025-01-18 17:47:06 +03:00
parent 94694b2fee
commit 0c5ad7e692
Signed by: egor3f
GPG Key ID: 40482A264AAEC85F

View File

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