nats-io / nats.go

Golang client for NATS, the cloud native messaging system.
https://nats.io
Apache License 2.0
5.45k stars 686 forks source link

kv is created with OLD discard policy using jetstream pkg while with nats pkg it gets NEW #1615

Closed nitzan-entro closed 5 months ago

nitzan-entro commented 5 months ago

Observed behavior

kv is created with OLD discard policy using jetstream pkg while with nats pkg it gets NEW

Expected behavior

both pkgs shall have the same resolution

Server and client version

2.10.9 1.34.1

Host environment

No response

Steps to reproduce

No response

piotrpio commented 5 months ago

Hey @nitzan-entro, thank you for finding this I created a PR fixing the problem.