nats-surveyor
nats-surveyor copied to clipboard
exporting streams and consumers configuration and state
What motivated this proposal?
We extensively use NATS in our large-scale setup, with many teams creating and adjusting streams and consumers. Having a configuration exporter would help us ensure we're following the best practices as we work.
What is the proposed change?
We're proposing the addition of a configuration export module that enables retrieving configurations either by requesting subjects like $JS.API.STREAM.LIST
or by utilizing the nats.go package.
Who benefits from this change?
Configuration can be used to verify and ensure that policies are held and extra info like raft group details ( not just leader election of quorum lost ) can be used in troubleshooting.
What alternatives have you evaluated?
No response