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

[BEAM-928] Enable Spotbugs in KafkaIO, fix warnings #8120

Merged
merged 2 commits into from
Mar 25, 2019

Conversation

aromanenko-dev
Copy link
Contributor

@aromanenko-dev aromanenko-dev commented Mar 22, 2019

Enabled Spotbugs for KafkaIO and fixed some warnings after.
One of them was related to KafkaRecord which I think doesn't need to be Serializable

R: @iemejia @rangadi (if you have a time)

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

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- --- --- --- ---
Java Build Status Build Status Build Status Build Status
Build Status
Build Status
Build Status Build Status Build Status
Python Build Status
Build Status
--- Build Status
Build Status
Build Status --- --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

@rangadi
Copy link
Contributor

rangadi commented Mar 22, 2019

👍 LGTM.

Copy link
Member

@iemejia iemejia left a comment

Choose a reason for hiding this comment

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

Thanks for tackling this one Alexey. Please take a look at my comments.

@aromanenko-dev
Copy link
Contributor Author

@iemejia Thanks, I addressed you comments, PTAL

Copy link
Member

@iemejia iemejia left a comment

Choose a reason for hiding this comment

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

LGTM. Notice that removing Serializable from KafkaRecord could seem like a breaking change, but it was indeed an API mistake and even if someone depended on the Serializability of it, it would be broken because headers are not Serializable.

@iemejia iemejia merged commit d6e60ad into apache:master Mar 25, 2019
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.

None yet

3 participants