Skip to content

Commit fe52caf

Browse files
committed
Fix Heartbeat Response V1+ field ordering
1 parent a558bb8 commit fe52caf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

protocol/heartbeat/heartbeat.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ type Response struct {
2727
// type.
2828
_ struct{} `kafka:"min=v4,max=v4,tag"`
2929

30-
ErrorCode int16 `kafka:"min=v0,max=v4"`
3130
ThrottleTimeMs int32 `kafka:"min=v1,max=v4"`
31+
ErrorCode int16 `kafka:"min=v0,max=v4"`
3232
}
3333

3434
func (r *Response) ApiKey() protocol.ApiKey {

0 commit comments

Comments
 (0)