-
How to create key value store only if it doesn't exist?
Then what will happen when we call |
Beta Was this translation helpful? Give feedback.
Answered by
Jarema
Sep 16, 2024
Replies: 1 comment
-
There will be no error if the underlying stream already exists with the same configuraiton. I think it's a good idea to expose this one directly. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sergeda
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 theJetStream
error.I think it's a good idea to expose this one directly.
Will add it.