Skip to content

Conversation

@tomstepp
Copy link
Contributor

Add kafka read override to Dataflow java runner.


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.

@tomstepp
Copy link
Contributor Author

R: @scwhittle

@github-actions
Copy link
Contributor

Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment assign set of reviewers

@tomstepp tomstepp requested a review from scwhittle November 19, 2025 16:13
Copy link
Contributor

@scwhittle scwhittle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just some some minor comments

… once, refine suppressed lint warnings to just instanceof on matches method.
@tomstepp tomstepp requested a review from scwhittle November 20, 2025 17:02
@github-actions
Copy link
Contributor

Assigning reviewers:

R: @kennknowles added as fallback since no labels match configuration

Note: If you would like to opt out of this review, comment assign to next reviewer.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

The PR bot will only process comments in the main thread (not review comments).

@scwhittle scwhittle merged commit 8ef3a24 into apache:master Nov 21, 2025
18 checks passed
overridesBuilder.add(
PTransformOverride.of(
KafkaReadWithRedistributeOverride.matcher(),
new KafkaReadWithRedistributeOverride.Factory()));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ideally move Override to KafkaIO as KafkaIO.Read.KAFKA_READ_OVERRIDE above. This keeps reference to KafkaIO for DataflowRunner minimum (ease import)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, sorry about that. @tomstepp can you send a follow-up PR to move this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, yeah I can update this, thanks for identifying the improvement @Abacn !

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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