-
Notifications
You must be signed in to change notification settings - Fork 67
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
Add support for kafka transactions #222
Comments
@Yexo Hey, AFAIK sarama does not support Transactions. Has this changed? |
I'm not sure, it definitely isn't very well documented: IBM/sarama#1299 At the same time some documentation does hint to it being supported: "TxnOffsetCommit sends a request to commit transaction offsets and returns a response or error". |
@Yexo we have probably to take a deeper look into the support in sarama to determine if it is supported but AFAIK it is not...
|
I noticed that function too, but "Note that messages can succeed and fail individually" lead me to believe they're not send in a transaction. |
I agree. |
@Yexo hey, i was wondering about this issue. Sice we cannot support transactions with sarama should we close this one? |
Due to inactivity we are closing this for now. |
Is your feature request related to a problem? Please describe
I'd like to publish multiple message to Kafka in a single transaction. This makes it much easier to synchronise that action with writing multiple entries to a database and mitigates the problem of some messages being send but others failing.
Describe the solution
Add support for kafka transactions. See https://cwiki.apache.org/confluence/display/KAFKA/Transactional+Messaging+in+Kafka for details.
The text was updated successfully, but these errors were encountered: