How to set MaxAge,MaxBytes,MaxMsgs,MaxMsgs parameters with configuration file #5653
rdkumavat1
started this conversation in
General
Replies: 2 comments 5 replies
-
You cannot do it with Server config. That would be problematic for many reasons - inconsistent configs across cluster, behavior after manual change, lack of possibility to error on startup, as R3 streams need quorum for creation, to mention few problems. You can achieve that with
|
Beta Was this translation helpful? Give feedback.
4 replies
-
Use
Modify max_msgs、max_age... Then run |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to set default settings that will be applied on streams, subject and subscriptions on creation without specifying by the end- user.
I am trying to set it with nats server configuration but not successful, Can you please guide me how to do that and which should be ideal methodology to apply it without code..
Thanks
Beta Was this translation helpful? Give feedback.
All reactions