goutamadwant opened a new pull request, #39735:
URL: https://github.com/apache/beam/pull/39735
Fixes #29998.
KafkaIO dynamic reads currently fail during pipeline expansion unless the
obsolete `beam_fn_api` experiment is enabled.
This change removes that expansion-time requirement. Dynamic reads remain
SDF-only through the existing `KafkaIOReadImplementationCompatibility`
selection, so runner fallback and compatibility behavior are unchanged.
The regression test verifies that:
- dynamic read is still classified as SDF-only
- the transform expands without enabling `beam_fn_api`
The change also updates the 2.77.0 release notes.
### Testing
- `./gradlew :sdks:java:io:kafka:test
:sdks:java:io:kafka:kafkaVersion392Test :sdks:java:io:kafka:spotlessCheck
--no-daemon`
- `./gradlew :sdks:java:io:kafka:test --tests
org.apache.beam.sdk.io.kafka.KafkaIOReadImplementationCompatibilityTest.testDynamicReadUsesSdfWithoutBeamFnApiExperiment
:sdks:java:io:kafka:check --no-build-cache --rerun-tasks --no-daemon`
The full KafkaIO check includes Checkstyle, SpotBugs, Javadocs, dependency
analysis, formatting, and unit tests.
------------------------
Thank you for your contribution! Follow this checklist to help us
incorporate your contribution quickly and easily:
- [x] 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.
- [x] Update `CHANGES.md` with noteworthy changes.
- [ ] If this contribution is large, please file an Apache [Individual
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
See the [Contributor Guide](https://beam.apache.org/contribute) for more
tips on [how to make review process
smoother](https://github.com/apache/beam/blob/master/CONTRIBUTING.md#make-the-reviewers-job-easier).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]