[kafka] Add request dispatch and transport framework - #4259
Open
gyang94 wants to merge 1 commit into
Open
Conversation
Introduce API registration, request context, version validation, and asynchronous error mapping. Fix request buffer ownership and response serialization cleanup while preserving the existing ApiVersions entry point. Validated with mvn -o -pl fluss-rpc,fluss-kafka verify. Co-Authored-By: Codex <noreply@openai.com> AI-Model: gpt-6 AI-Contributed/Feature: 555/555 AI-Contributed/UT: 525/525
This was referenced Sep 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Closes #4264.
Part of umbrella #4185; this PR does not close the umbrella.
This is the first foundation stage under #4185: request/transport framework, followed by ApiVersions and Metadata. Each stage is tracked by a separate child issue. This PR excludes CreateTopics/DeleteTopics.
Brief change log
Scope: 16 files, +1039 / -41 lines including tests. This PR adds no concrete API handler, Produce implementation, topic administration, dependency, or storage format.
Tests
mvn -o -pl fluss-rpc,fluss-kafka verifygit diff --check;git range-diffconfirms unchanged patches after rebasing onto main (b9a1653fa).Dependencies were rebuilt with
mvn -o -pl fluss-kafka -am install -DskipTestson Java 11. This also passed the reactor's Checkstyle, Spotless and RAT checks. The entire repository test suite was not run.API and Format
Adds internal Kafka extension points; existing Fluss public APIs and storage formats are unchanged. Concrete ApiVersions and Metadata behavior is introduced only in the two follow-ups. Tables remain managed by Fluss DDL.
Documentation
This PR description documents the stage boundary and review order. No end-user Produce or schema-format documentation is introduced here.
Stack
Generative AI disclosure: Codex assisted with implementation, testing, and commit organization. Human review is required before merge.