You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
SUB | 90016 | Existing consumer cannot be modified.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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