Skip to content

Commit 422bf44

Browse files
author
Lakshay Kalbhor
committed
chore: add debug log for consumer fetches
1 parent 311a680 commit 422bf44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/relay/relay.go

+2
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ loop:
196196
re.log.Debug("marking server as unhealthy", "server", server.ID)
197197
}
198198

199+
re.log.Debug("received fetches", "len", fetches.NumRecords())
199200
iter := fetches.RecordIter()
200201
for !iter.Done() {
201202
rec := iter.Next()
@@ -210,6 +211,7 @@ loop:
210211
}
211212
}
212213

214+
re.log.Debug("processed fetches")
213215
server.Client.AllowRebalance()
214216
}
215217
}

0 commit comments

Comments
 (0)