-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support interactive edit for consumers #1145
Comments
Here we add the --interactive flag to the consumer edit action. This behaves the same as stream interactive edit.
Here we add the --interactive flag to the consumer edit action. This behaves the same as stream interactive edit.
(#1145) Support interactive edit for consumers
This one is pretty broken, shows many wrong fields
Compared to https://github.com/nats-io/nats-server/blob/e485bfa816d7c62b687df23447ac28784f5b4f38/server/consumer.go#L116 |
The issue here is that the ConsumerConfig doesn't have the yaml markup here https://github.com/nats-io/jsm.go/blob/f5cd8a22d0931e69320eb585d6265069e1326a34/api/consumers.go#L402 As the backend for this is a yaml marshal/unmarshal without those keys it doesn't turn So we'll have to add the yaml tags on the main config and all related structs, code wise I think CLI is fine |
Proposed change
Make it like
nats s edit -I
Use case
consumer editing
Contribution
No response
The text was updated successfully, but these errors were encountered: