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

fix(producer): use newer ProduceReq as appropriate #2546

Merged
merged 2 commits into from
Aug 3, 2023

Conversation

dnwe
Copy link
Collaborator

@dnwe dnwe commented Aug 3, 2023

Contributes-to: #2408

@dnwe dnwe added the fix label Aug 3, 2023
@dnwe dnwe force-pushed the dnwe/use-correct-producereq branch 2 times, most recently from fe09c2b to c477079 Compare August 3, 2023 09:25
Base automatically changed from dnwe/use-correct-leavegroup to main August 3, 2023 09:54
@dnwe dnwe force-pushed the dnwe/use-correct-producereq branch from c477079 to 64021f0 Compare August 3, 2023 09:55
if ps.parent.conf.Producer.Compression == CompressionZSTD && ps.parent.conf.Version.IsAtLeast(V2_1_0_0) {
if ps.parent.conf.Version.IsAtLeast(V1_0_0_0) {
req.Version = 5
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

slightly pedantic but these could be else cases.

@dnwe dnwe merged commit 1d8f80e into main Aug 3, 2023
19 checks passed
@dnwe dnwe deleted the dnwe/use-correct-producereq branch August 3, 2023 11:43
@dnwe dnwe added feat and removed fix labels Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants