From 7d2b0401a306df8e75e9d673600c4ae797228544 Mon Sep 17 00:00:00 2001 From: Jesse Kempf Date: Tue, 4 Mar 2025 11:39:17 -0800 Subject: [PATCH] Fix Heartbeat Response V1+ field ordering --- protocol/heartbeat/heartbeat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/heartbeat/heartbeat.go b/protocol/heartbeat/heartbeat.go index cf4c11185..962d6f467 100644 --- a/protocol/heartbeat/heartbeat.go +++ b/protocol/heartbeat/heartbeat.go @@ -27,8 +27,8 @@ type Response struct { // type. _ struct{} `kafka:"min=v4,max=v4,tag"` - ErrorCode int16 `kafka:"min=v0,max=v4"` ThrottleTimeMs int32 `kafka:"min=v1,max=v4"` + ErrorCode int16 `kafka:"min=v0,max=v4"` } func (r *Response) ApiKey() protocol.ApiKey {