Skip to content

Commit

Permalink
chore: add debug log for consumer fetches
Browse files Browse the repository at this point in the history
  • Loading branch information
Lakshay Kalbhor committed May 9, 2024
1 parent 311a680 commit 422bf44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/relay/relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ loop:
re.log.Debug("marking server as unhealthy", "server", server.ID)
}

re.log.Debug("received fetches", "len", fetches.NumRecords())
iter := fetches.RecordIter()
for !iter.Done() {
rec := iter.Next()
Expand All @@ -210,6 +211,7 @@ loop:
}
}

re.log.Debug("processed fetches")
server.Client.AllowRebalance()
}
}
Expand Down

0 comments on commit 422bf44

Please sign in to comment.