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

KafkaIO SDF: Fetch end position for each topic-partition tuple in a background thread, reusing kafka consumers. #32558

Conversation

bzablocki
Copy link
Contributor


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

@bzablocki bzablocki marked this pull request as draft September 25, 2024 15:07
@bzablocki
Copy link
Contributor Author

Hi @sjvanrossum, would you mind taking a look at this draft PR?

@bzablocki bzablocki force-pushed the offset-consumers-background-thread-publish branch from e4c54db to 9f8476d Compare October 2, 2024 11:29
@bzablocki bzablocki force-pushed the offset-consumers-background-thread-publish branch from 9f8476d to 6d9857b Compare October 2, 2024 11:30
@bzablocki bzablocki changed the title [Draft] KafkaIO SDF: Fetch end position for each topic-partition tuple in a background thread, reusing kafka consumers. KafkaIO SDF: Fetch end position for each topic-partition tuple in a background thread, reusing kafka consumers. Oct 2, 2024
@bzablocki bzablocki marked this pull request as ready for review October 2, 2024 11:45
@bzablocki
Copy link
Contributor Author

R: @sjvanrossum can I ask you for a review?

Copy link
Contributor

github-actions bot commented Oct 2, 2024

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control. If you'd like to restart, comment assign set of reviewers

@claudevdm
Copy link
Contributor

Hi @sjvanrossum would you mind taking a look?

@bzablocki
Copy link
Contributor Author

@sjvanrossum I believe you're working on the same thing in a separate PR, is that right?

@sjvanrossum
Copy link
Contributor

@claudevdm I picked this up while @bzablocki was OoO and concluded that decoupling Kafka consumers from DoFns would be more efficient than caching a consumer per split. Those changes are available in draft at #32986.

@bzablocki
Copy link
Contributor Author

I will close this. The continuation is in @sjvanrossum's PR: #32986.

@bzablocki bzablocki closed this Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants