Skip to content

KAFKA-18399: Remove ZooKeeper from KafkaApis (4/N): OFFSET_COMMIT and OFFSET_FETCH#18461

Merged
chia7712 merged 1 commit intoapache:trunkfrom
FrankYang0529:KAFKA-18399
Jan 12, 2025
Merged

KAFKA-18399: Remove ZooKeeper from KafkaApis (4/N): OFFSET_COMMIT and OFFSET_FETCH#18461
chia7712 merged 1 commit intoapache:trunkfrom
FrankYang0529:KAFKA-18399

Conversation

@FrankYang0529
Copy link
Copy Markdown
Member

JIRA: https://issues.apache.org/jira/browse/KAFKA-18399
Remove ZK support for OFFSET_COMMIT and OFFSET_FETCH.

Committer Checklist (excluded from commit message)

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

@github-actions github-actions Bot added the core Kafka Broker label Jan 9, 2025
authorizedTopicsRequest,
responseBuilder
)
requestHelper.sendMaybeThrottle(request, offsetCommitRequest.getErrorResponse(Errors.UNSUPPORTED_VERSION.exception))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think that we removed version 0 of that API so we could remove the entire branch.

Comment on lines +1194 to +1195
requestHelper.sendMaybeThrottle(request, request.body[OffsetFetchRequest].getErrorResponse(Errors.UNSUPPORTED_VERSION.exception))
CompletableFuture.completedFuture(())
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ditto.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Updated it. Thanks for the review.

@FrankYang0529 FrankYang0529 force-pushed the KAFKA-18399 branch 2 times, most recently from 4a7fdc2 to 1a4760a Compare January 10, 2025 03:47
@FrankYang0529
Copy link
Copy Markdown
Member Author

The failed case RemoteLogManagerTest#testStopPartitionsWithDeletion will be fixed in #18474.

…T_FETCH

Signed-off-by: PoAn Yang <payang@apache.org>
@chia7712 chia7712 merged commit 3cf2e45 into apache:trunk Jan 12, 2025
@chia7712 chia7712 changed the title KAFKA-18399: Remove ZooKeeper from KafkaApis (8/N): OFFSET_COMMIT and OFFSET_FETCH KAFKA-18399: Remove ZooKeeper from KafkaApis (4/N): OFFSET_COMMIT and OFFSET_FETCH Jan 12, 2025
chia7712 pushed a commit that referenced this pull request Jan 12, 2025
…OFFSET_FETCH (#18461)

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
@FrankYang0529 FrankYang0529 deleted the KAFKA-18399 branch January 12, 2025 13:02
@dajac
Copy link
Copy Markdown
Member

dajac commented Jan 13, 2025

@chia7712 You could have mentioned me as a reviewer on this one. Any reason why you did not?

@chia7712
Copy link
Copy Markdown
Member

Any reason why you did not?

I have verified that all your comments have been addressed. Merging this PR can facilitate the progress of other ZK-related code cleanups. We can address any remaining feedback in subsequent PRs, such as those related to other cleanups. However, this is my perspective. I will await your second review next time.

@dajac
Copy link
Copy Markdown
Member

dajac commented Jan 13, 2025

@chia7712 It is totally fine to merge it. I was referring to the reviewers in the commit message: Reviewers: Chia-Ping Tsai <chia7712@gmail.com>. I suppose that you just forgot me.

@chia7712
Copy link
Copy Markdown
Member

I suppose that you just forgot me.

that is my fault. I should not merge PR after working over 24 hours :(

pranavt84 pushed a commit to pranavt84/kafka that referenced this pull request Jan 27, 2025
…OFFSET_FETCH (apache#18461)

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
airlock-confluentinc Bot pushed a commit to confluentinc/kafka that referenced this pull request Jan 27, 2025
…OFFSET_FETCH (apache#18461)

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
manoj-mathivanan pushed a commit to manoj-mathivanan/kafka that referenced this pull request Feb 19, 2025
…OFFSET_FETCH (apache#18461)

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Kafka Broker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants