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

adding version for zstd compression #1256

Closed
wants to merge 2 commits into from

Conversation

varun06
Copy link
Contributor

@varun06 varun06 commented Jan 16, 2019

This is a fix for issues mentioned in #1252

  • naming the import is done by one of the static analysis tool on my local, if that's a problem, I will revert it back.

@varun06
Copy link
Contributor Author

varun06 commented Jan 16, 2019

@bobrik does it look okay?

@@ -214,6 +212,8 @@ func (r *ProduceRequest) requiredVersion() KafkaVersion {
return V0_10_0_0
case 3:
return V0_11_0_0
case 4:
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be 7? See Kafka source.

I think you also need to update this code to start encoding with that version.

Ultimately you want to test this against a live v2.1.0 Kafka and see if that works.

@varun06
Copy link
Contributor Author

varun06 commented Jan 29, 2019

Will bring it back once I have full understanding.

@varun06 varun06 closed this Jan 29, 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.

2 participants