feat(binding-kafka): extend IDL for MCP Kafka gateway (#1698-#1702)#1706
Open
jfallows wants to merge 1 commit into
Open
feat(binding-kafka): extend IDL for MCP Kafka gateway (#1698-#1702)#1706jfallows wants to merge 1 commit into
jfallows wants to merge 1 commit into
Conversation
…upOffsets APIs; extend KafkaMetaDataEx and KafkaDescribeBeginEx - #1698: extend KafkaMetaDataEx with KafkaPartitionMetadata (replicas, isr arrays) and replicationFactor - #1699: add KafkaResourceType enum to KafkaDescribeBeginEx, rename topic->name, replace KafkaConfig with KafkaConfigDetail (isDefault, isSensitive) - #1700: add ListGroups (API key 16) support with KafkaListGroupsRequestBeginEx/ResponseBeginEx - #1701: add DescribeGroups (API key 15) support with KafkaDescribeGroupsRequestBeginEx/ResponseBeginEx - #1702: add AlterConsumerGroupOffsets (API key 53) support with request/response begin extensions Implements #1698, #1699, #1700, #1701, #1702 https://claude.ai/code/session_0174raBeXFTgt98bp4DTyRDm
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.
$(cat <<'EOF'
Summary
binding-kafka: extendKafkaMetaDataExwith replica and ISR partition detail #1698: ExtendKafkaMetaDataExwith full partition detail — adds newKafkaPartitionMetadatastruct (replicas[], isr[]) andreplicationFactorfield; updates all callers (KafkaCacheMetaFactory,KafkaCacheBootstrapFactory,KafkaMergedFactory,KafkaClientMetaFactory)binding-kafka: add broker resource support toKafkaDescribeBeginEx#1699: Add broker resource support toKafkaDescribeBeginEx— addsKafkaResourceTypeenum field withTOPICdefault, renamestopic→name, replacesKafkaConfigwithKafkaConfigDetail(addsisDefault,isSensitiveflags); updates all describe factory callersbinding-kafka: addListGroups(API key 16) support #1700: Add ListGroups (API key 16) support —KafkaListGroupsRequestBeginEx(statesFilter[]),KafkaListGroupsResponseBeginEx(throttle, error, groups[])binding-kafka: addDescribeGroups(API key 15) support #1701: Add DescribeGroups (API key 15) support —KafkaDescribeGroupsRequestBeginEx(groupIds[], includeAuthorizedOperations),KafkaDescribeGroupsResponseBeginEx(throttle, groups[])binding-kafka: addAlterConsumerGroupOffsets(API key 53) support #1702: Add AlterConsumerGroupOffsets (API key 53) support —KafkaAlterConsumerGroupOffsetsRequestBeginEx(groupId, topics[]),KafkaAlterConsumerGroupOffsetsResponseBeginEx(throttle, topics[])Changes
specs/binding-kafka.spec/src/main/resources/META-INF/zilla/kafka.idl— all IDL additionsTest plan
./mvnw install -DskipITs -pl runtime/binding-kafka -amto verify Java compilation after IDL regeneration./mvnw verify -pl specs/binding-kafka.specto verify existing specs still passKafkaPartitionMetadataFW,KafkaConfigDetailFW,KafkaListGroupsRequestBeginExFW,KafkaDescribeGroupsRequestBeginExFW,KafkaAlterConsumerGroupOffsetsRequestBeginExFWare generated from IDL.rptscripts for ListGroups, DescribeGroups, AlterConsumerGroupOffsets happy paths (follow-up issues)Closes #1698, #1699, #1700, #1701, #1702
https://claude.ai/code/session_0174raBeXFTgt98bp4DTyRDm
EOF
)