Skip to content

Commit

Permalink
Improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Sep 26, 2023
1 parent 81f6d44 commit 884413d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions consumer/groupcsm/groupcsm.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ func (gc *T) run() {
}
nilOrRetryCh = time.After(gc.cfg.Consumer.RetryBackoff)
rebalanceScheduled = true
} else {
gc.actDesc.Log().Info("rebalancing done")
}
if stopped {
goto done
Expand Down
1 change: 1 addition & 0 deletions consumer/subscriber/subscriber.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ func (s *T) run() {
select {
case topics = <-s.topicsCh:
sort.Strings(topics)
s.actDesc.Log().Infof("Resubmit triggered by new topics=%v", topics)
shouldSubmitTopics = true

case nilOrSubscriptionsCh <- subscriptions:
Expand Down

0 comments on commit 884413d

Please sign in to comment.