debugging nats...
This commit is contained in:
parent
94694b2fee
commit
0c5ad7e692
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user