mirror of
https://github.com/hanzoai/pubsub.git
synced 2026-10-30 15:06:26 +00:00
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]>
35 lines
735 B
JSON
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": 1,
|
|
"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
|
|
}
|
|
} |