Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Race condition on topics creation. #323

Open
big-andy-coates opened this issue May 15, 2024 · 0 comments
Open

Race condition on topics creation. #323

big-andy-coates opened this issue May 15, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@big-andy-coates
Copy link
Member

Consider two calls to provision running in parallel. Both detect a topic doesn't yet exist in the cluster. Both try to create it. The first to try succeeds, the second will fail with a 'topic already exists' error.

Currently, this error is propagated to the caller. A better solution would be to gracefully handling this issue and just checking the topic has been created with the right config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants