Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Content-Length: 265365 | pFad | http://github.com/nats-io/nats.java/discussions/566
03Fetched URL: http://github.com/nats-io/nats.java/discussions/566
Alternative Proxies:
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The client can modify a consumer using the management functions. The management just passes the request to the server in that case. If an illegal update is attempted, the server will return an error and the client will propagate that to the user.
When making a subscription request, the user is not allowed to modify the consumer at all. Attempting to do so will throw an exception
As reference you can see the unit test https://github.com/nats-io/nats.java/blob/main/src/test/java/io/nats/client/impl/JetStreamManagementTests.java
testValidConsumerUpdates
shows that you can update these fieldstestInvalidConsumerUpdates
shows that you cannot updateBeta Was this translation helpful? Give feedback.
All reactions