Skip to content

Commit

Permalink
re-order protocol/joingroup response fields (#949)
Browse files Browse the repository at this point in the history
ProtocolType comes before ProtocolName
  • Loading branch information
rhansen2 authored Jul 14, 2022
1 parent 394527d commit f5c0e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/joingroup/joingroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ type Response struct {
ThrottleTimeMS int32 `kafka:"min=v2,max=v7"`
ErrorCode int16 `kafka:"min=v0,max=v7"`
GenerationID int32 `kafka:"min=v0,max=v7"`
ProtocolName string `kafka:"min=v0,max=v5|min=v6,max=v6,compact|min=v7,max=v7,compact,nullable"`
ProtocolType string `kafka:"min=v7,max=v7,compact,nullable"`
ProtocolName string `kafka:"min=v0,max=v5|min=v6,max=v6,compact|min=v7,max=v7,compact,nullable"`
LeaderID string `kafka:"min=v0,max=v5|min=v6,max=v7,compact"`
MemberID string `kafka:"min=v0,max=v5|min=v6,max=v7,compact"`
Members []ResponseMember `kafka:"min=v0,max=v7"`
Expand Down

0 comments on commit f5c0e30

Please sign in to comment.