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

Transaction: Produce to non-existing topic results in a timeout #4966

Open
tmanninger opened this issue Feb 14, 2025 · 1 comment
Open

Transaction: Produce to non-existing topic results in a timeout #4966

tmanninger opened this issue Feb 14, 2025 · 1 comment

Comments

@tmanninger
Copy link

tmanninger commented Feb 14, 2025

Hi,

in my kafka environment, the auto creation of topics is disabled:
auto.create.topics.enable = false

When i produce a record to a non-existing topic in a transaction, this results in a timeout (default 30seconds):
Current transaction failed in state BeginCommit: 1 message(s) failed delivery (see individual delivery reports)
Broker: Unknown topic or partition

Is there a option to immediately abort a transaction if the topic does not exist?
Waiting for a non-existent topic with auto.create.topics.enable = false makes no sense.

@tmanninger
Copy link
Author

Oh, i see, the same issue without transactions.
When i produce a message without transaction, i will be run also in a 30s timeout.

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

No branches or pull requests

1 participant