This commit is contained in:
@@ -144,7 +144,7 @@ func serve(ctx *cli.Context) error {
|
|||||||
_, err = js.AddStream(&nats.StreamConfig{
|
_, err = js.AddStream(&nats.StreamConfig{
|
||||||
Name: "maptest",
|
Name: "maptest",
|
||||||
Subjects: []string{"maptest.>"},
|
Subjects: []string{"maptest.>"},
|
||||||
Retention: nats.WorkQueuePolicy,
|
Retention: nats.InterestPolicy,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.WithError(err).Fatal("failed to add stream")
|
log.WithError(err).Fatal("failed to add stream")
|
||||||
|
|||||||
Reference in New Issue
Block a user