Skip to content

Commit

Permalink
generate / kmsg: update GroupMetadata{Key,Value}
Browse files Browse the repository at this point in the history
Not much changed here.

Closes #804.
  • Loading branch information
twmb committed Oct 14, 2024
1 parent e7b9d3c commit 0d24bb5
Show file tree
Hide file tree
Showing 2 changed files with 174 additions and 33 deletions.
6 changes: 3 additions & 3 deletions generate/definitions/misc
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ GroupMetadataKey => not top level, with version field
//
// KAFKA-7862 commit 0f995ba6be, proposed in KIP-345 and included in 2.3.0
// released version 3.
GroupMetadataValue => not top level, with version field
GroupMetadataValue => not top level, with version field, flexible v4+
// Version is the version of this value.
Version: int16
// ProtocolType is the type of protocol being used for the group
Expand All @@ -287,7 +287,7 @@ GroupMetadataValue => not top level, with version field
Leader: nullable-string
// CurrentStateTimestamp is the timestamp for this state of the group
// (stable, etc.).
CurrentStateTimestamp: int64 // v2+
CurrentStateTimestamp: int64(-1) // v2+
// Members are the group members.
Members: [=>]
// MemberID is a group member.
Expand All @@ -299,7 +299,7 @@ GroupMetadataValue => not top level, with version field
// ClientHost is the hostname of this group member.
ClientHost: string
// RebalanceTimeoutMillis is the rebalance timeout of this group member.
RebalanceTimeoutMillis: int32 // v1+
RebalanceTimeoutMillis: int32(-1) // v1+
// SessionTimeoutMillis is the session timeout of this group member.
SessionTimeoutMillis: int32
// Subscription is the subscription of this group member.
Expand Down
201 changes: 171 additions & 30 deletions pkg/kmsg/generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0d24bb5

Please sign in to comment.