Skip to content

KAFKA-7903 : use automated protocol for offset commit request#6583

Merged
cmccabe merged 3 commits intoapache:trunkfrom
abbccdda:offset_commit_auto
Apr 25, 2019
Merged

KAFKA-7903 : use automated protocol for offset commit request#6583
cmccabe merged 3 commits intoapache:trunkfrom
abbccdda:offset_commit_auto

Conversation

@abbccdda
Copy link
Copy Markdown

A sub-effort for fully auto-mated Kafka protocols.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@abbccdda abbccdda force-pushed the offset_commit_auto branch 5 times, most recently from 4c10afe to 4e34f4f Compare April 19, 2019 17:55
@abbccdda
Copy link
Copy Markdown
Author

@cmccabe Do you have time to take a look? Thanks!

@abbccdda
Copy link
Copy Markdown
Author

Retest this please

1 similar comment
@abbccdda
Copy link
Copy Markdown
Author

Retest this please

@cmccabe
Copy link
Copy Markdown
Contributor

cmccabe commented Apr 22, 2019

thanks @abbccdda . will take a look soon!

@abbccdda abbccdda force-pushed the offset_commit_auto branch from 4e34f4f to 52f7d0b Compare April 23, 2019 03:41
@abbccdda
Copy link
Copy Markdown
Author

@cmccabe bump!

Comment thread clients/src/main/java/org/apache/kafka/common/requests/LeaveGroupResponse.java Outdated
@abbccdda
Copy link
Copy Markdown
Author

Thanks for the review, comment addressed! @cmccabe

@abbccdda abbccdda force-pushed the offset_commit_auto branch from 797e34a to 1e98e59 Compare April 25, 2019 20:53
@cmccabe cmccabe merged commit 0c2d829 into apache:trunk Apr 25, 2019
dhruvilshah3 added a commit to confluentinc/kafka that referenced this pull request Apr 29, 2019
* ak/trunk: (42 commits)
  KAFKA-8134: `linger.ms` must be a long
  KAFKA-7779; Avoid unnecessary loop iteration in leastLoadedNode (apache#6081)
  MINOR: Update Gradle to 5.4.1 and update its plugins  (apache#6436)
  MINOR: improve Session expiration notice (apache#6618)
  KAFKA-8029: In memory session store (apache#6525)
  MINOR: In-memory stores cleanup (apache#6595)
  KAFKA-7862 & KIP-345 part-one: Add static membership logic to JoinGroup protocol (apache#6177)
  KAFKA-8254: Pass Changelog as Topic in Suppress Serdes (apache#6602)
  KAFKA-7903: automatically generate OffsetCommitRequest (apache#6583)
  KAFKA-8291 : System test fix (apache#6637)
  MINOR: Do not log retriable offset commit exceptions as errors (apache#5904)
  MINOR: Fix log message error of loadTransactionMetadata (apache#6571)
  MINOR: Fix 404 security features links (apache#6634)
  MINOR: Remove an unnecessary character from broker's startup log
  MINOR: Make LogCleaner.shouldRetainRecord more readable (apache#6590)
  MINOR: Remove implicit return statement (apache#6629)
  KAFKA-8237; Untangle TopicDeleteManager and add test cases (apache#6588)
  KAFKA-8227 DOCS Fixed missing links duality of streams tables (apache#6625)
  MINOR: reformat settings.gradle to be more readable (apache#6621)
  MINOR: Correct RestServerTest formatting
  ...

 Conflicts:
	build.gradle
	settings.gradle
gwenshap pushed a commit that referenced this pull request May 8, 2019
KAFKA-7903: automatically generate OffsetCommitRequest (#6583) introduced a change that cause consumer breakage when OffsetCommitResponse versions < 3 are parsed, as they do not include a throttle_time_ms field. This PR fixes the parsing by supplying the correct version to the OffsetCommitResponse constructor in AbstractResponse.parseResponse.

I have tested this change against many of the compatibility system tests, and it has fixed all the failures that I have tested thus far.

Author: Lucas Bradstreet <lucas@confluent.io>

Reviewers: Gwen Shapira, Boyang Chen

Closes #6698 from lbradstreet/offset-commit-response-throttle-field
pengxiaolong pushed a commit to pengxiaolong/kafka that referenced this pull request Jun 14, 2019
Reviewers: Colin P. McCabe <cmccabe@apache.org>
pengxiaolong pushed a commit to pengxiaolong/kafka that referenced this pull request Jun 14, 2019
KAFKA-7903: automatically generate OffsetCommitRequest (apache#6583) introduced a change that cause consumer breakage when OffsetCommitResponse versions < 3 are parsed, as they do not include a throttle_time_ms field. This PR fixes the parsing by supplying the correct version to the OffsetCommitResponse constructor in AbstractResponse.parseResponse.

I have tested this change against many of the compatibility system tests, and it has fixed all the failures that I have tested thus far.

Author: Lucas Bradstreet <lucas@confluent.io>

Reviewers: Gwen Shapira, Boyang Chen

Closes apache#6698 from lbradstreet/offset-commit-response-throttle-field
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