Uh oh!
There was an error while loading. Please reload this page.
Eliminate nullness errors in KafkaIO - #21783
Conversation
e42b329 to
629c4b4Comparekennknowles
commented
Jun 9, 2022
R: @johnjcasey We discussed some cases. This one I did a lot more "just add an assertion" style fixes, whereas usually I like to refactor things to eliminate the possibility of any error occurring. If you can spot places where it simply doesn't make sense to have a nullable field, please comment. |
There was a problem hiding this comment.
I don't think these two should ever be null
There was a problem hiding this comment.
it isn't meaningful to have Kafka config without bootstrap servers, so this should throw an exception if it is null
5a48c83 to
2818fc8Comparekennknowles
commented
Jun 10, 2022
And in getting tests to pass, I found that they simply didn't call |
johnjcasey
commented
Jun 10, 2022
That is very appreciated |
kennknowles
commented
Jun 13, 2022
run java precommit |
kennknowles
commented
Jun 14, 2022
run java precommit |
kennknowles
commented
Jun 14, 2022
Run Python_PVR_Flink PreCommit |
1 similar comment
kennknowles
commented
Jun 14, 2022
Run Python_PVR_Flink PreCommit |
kennknowles
commented
Jun 15, 2022
seeing "could not find valid docker environment" across a lot of PRs, hmm |
kennknowles
commented
Jun 15, 2022
Run Java PreCommit |
kennknowles
commented
Jun 15, 2022
And across many PRs also org.apache.beam.sdk.io.pulsar.PulsarIOTest.testReadFromSimpleTopic: |
kennknowles
commented
Jun 15, 2022
Run Java PreCommit |
1 similar comment
kennknowles
commented
Jun 15, 2022
Run Java PreCommit |
kennknowles
commented
Jun 17, 2022
Run Python_PVR_Flink PreCommit |
kennknowles
commented
Jun 17, 2022
no error in the logs, and scan failed to upload :-/ |
kennknowles
commented
Jun 17, 2022
Run Python_PVR_Flink PreCommit |
kennknowles
commented
Jun 17, 2022
Please take another look now that tests are green. Reminder of policy: when a committer is the author, they are trusted to choose the best reviewer, including not-yet-committers. I think you are the best choice for this region of the code. And thanks for the review so far! |
johnjcasey
commented
Jun 17, 2022
This LGTM. Thank you for adding all these checks. |
Please add a meaningful description for your change here
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
R: @username).CHANGES.mdwith noteworthy changes.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)
See CI.md for more information about GitHub Actions CI.