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

Support transactions #903

Merged
merged 16 commits into from
Aug 10, 2021
Merged

Conversation

YordanPavlov
Copy link
Contributor

A pull request to expose the transactions support of LibrdKafka.

This PR is a copy of the PR:
#881

some commits were cleaned by interactive rebase.

YordanPavlov and others added 13 commits July 13, 2021 17:37
Replication factor of transaction related options should be reduced to 1
so that we can test with a single broker.
returned by Rdkafka to the JS code.
Also don't allow single offset
Timeout added on producing messages.
Some transaction end to end tests were failing for two reasons.
* A delayed message from prevoius test was being read and braking up the
  logic of the test. Fixed by using a separate topic.
* One more message was being produced than expected. Fixed.
@iradul
Copy link
Collaborator

iradul commented Jul 26, 2021

I pushed the code for async version. We now need to make proper e2e tests.

@thynson
Copy link

thynson commented Aug 7, 2021

I tried this feature locally, except TypeError caused by adding async support, all the other parts are good to me so far.

@iradul
Copy link
Collaborator

iradul commented Aug 10, 2021

The only missing thing is updated docs, but this can be done in a separate PR or commit. Thank you @YordanPavlov, and everyone who participated.

@iradul iradul merged commit 07660be into Blizzard:master Aug 10, 2021
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

Successfully merging this pull request may close these issues.

3 participants