Skip to content

How to handle key value store creation? #1318

Answered by Jarema
sergeda asked this question in Q&A
Discussion options

You must be logged in to vote

There will be no error if the underlying stream already exists with the same configuraiton.
If you want to catch stream name already in use with a different configuration" you need to downcast the JetStream error.

I think it's a good idea to expose this one directly.
Will add it.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sergeda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants