Skip to content

Commit f5c0e30

Browse files
authored
re-order protocol/joingroup response fields (#949)
ProtocolType comes before ProtocolName
1 parent 394527d commit f5c0e30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

protocol/joingroup/joingroup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ type Response struct {
4545
ThrottleTimeMS int32 `kafka:"min=v2,max=v7"`
4646
ErrorCode int16 `kafka:"min=v0,max=v7"`
4747
GenerationID int32 `kafka:"min=v0,max=v7"`
48-
ProtocolName string `kafka:"min=v0,max=v5|min=v6,max=v6,compact|min=v7,max=v7,compact,nullable"`
4948
ProtocolType string `kafka:"min=v7,max=v7,compact,nullable"`
49+
ProtocolName string `kafka:"min=v0,max=v5|min=v6,max=v6,compact|min=v7,max=v7,compact,nullable"`
5050
LeaderID string `kafka:"min=v0,max=v5|min=v6,max=v7,compact"`
5151
MemberID string `kafka:"min=v0,max=v5|min=v6,max=v7,compact"`
5252
Members []ResponseMember `kafka:"min=v0,max=v7"`

0 commit comments

Comments
 (0)