Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIXED] JetStream: check consumer name validity in APIs
For ConsumerInfo and DeleteConsumer, we need to check that the consumer name is valid, that is, does not contains ".", otherwise the request would be dropped by older servers. But even with servers returning "bad request", it is not meaningful enough, so the library should inform the user if the name is invalid. Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
- Loading branch information
Showing
3 changed files
with
42 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters