nats-server
nats-server copied to clipboard
Ability to set consumer_name for Key Value store
Proposed change
I am using the jnats java libraray an subsribe to a kv bucket with
natKvStoreService.deviceAggregateStore().watchAll(new KeyValueWatcher() {
This generates on every boot different consumer name
jetstream_consumer_ack_floor_stream_seqaccount$Gaccount_id$Gclusterconsumer_descconsumer_leaderconsumer_nameDGix6yiNaWdomainis_consumer_leadertrueis_meta_leadertrueis_stream_leadertruemeta_leaderserver_idamovabi_infra.nats[0]server_nameamovabi_infra.nats[0]stream_leaderamovabi_infra.nats[0]stream_nameKV_DeviceAggregateStore 1087
Is it possible to add consumer name to KeyValueWatchOption ?
Use case
Listen to KV stores
Contribution
No response