[kafka] Add basic Produce compatibility - #4187
Draft
gyang94 wants to merge 2 commits into
Draft
Conversation
Introduce request dispatch, ApiVersions, metadata discovery, and topic lifecycle operations as the reviewable foundation for subsequent Produce support. Co-Authored-By: Codex <noreply@openai.com> AI-Model: gpt-5.6-sol AI-Contributed/Feature: 2698/2698 AI-Contributed/UT: 1160/1160
Support raw and string Produce requests, validate acks=all semantics, and wake delayed follower fetches after successful appends. Co-Authored-By: Codex <noreply@openai.com> AI-Model: gpt-5.6-sol AI-Contributed/Feature: 1204/1204 AI-Contributed/UT: 2066/2066
This was referenced Sep 1, 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
Linked issue: #4185
Depends on #4186.
This is PR 2 of 4 for the Basic Produce compatibility milestone. The intended review delta is the single tip commit
12e1897a8; GitHub shows the PR1 commit as well until #4186 is merged and this branch is rebased onto the updated main branch.Brief change log
acks=all.Tests
ReplicaTest,DelayedActionQueueTest, andDelayedFetchLogTest.API and Format
The change adds internal Kafka Produce compatibility types and reuses existing Fluss log formats. It does not change the Fluss public client API or storage format.
Documentation
No standalone user documentation change in this layer; the umbrella issue describes the staged milestone.
Stack
Generative AI disclosure: Codex (GPT-5.6) assisted with implementation and commit organization. Human review is required before merge.