Files
Maurice van VeenandGitHub 8fdd9645c5 (2.11) ADR-44: JetStream API Level in varz,jsz,statsz,$JS.API.INFO (#5855)
Implements
[ADR-44](https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-44.md)
Extends https://github.com/nats-io/nats-server/pull/5850

Expose the supported JetStream API level in varz, jsz, statsz and
`$JS.API.INFO`. Both over the HTTP endpoints as well as requests to
`$SYS.REQ.SERVER.PING.VARZ` and the like.

Signed-off-by: Maurice van Veen <[email protected]>

---------

Signed-off-by: Maurice van Veen <[email protected]>
2024-09-07 11:46:16 -07:00

35 lines
735 B
JSON

{
"config": {
"name": "STREAM",
"subjects": [
"stream"
],
"retention": "limits",
"max_consumers": -1,
"max_msgs_per_subject": -1,
"max_msgs": -1,
"max_bytes": -1,
"max_age": 0,
"max_msg_size": -1,
"storage": "file",
"discard": "old",
"num_replicas": 3,
"duplicate_window": 120000000000,
"sealed": false,
"deny_delete": false,
"deny_purge": false,
"allow_rollup_hdrs": false,
"allow_direct": true,
"mirror_direct": false,
"consumer_limits": {}
},
"state": {
"messages": 0,
"bytes": 0,
"first_seq": 0,
"first_ts": "0001-01-01T00:00:00Z",
"last_seq": 0,
"last_ts": "0001-01-01T00:00:00Z",
"consumer_count": 0
}
}