Skip to content

Commit

Permalink
Make info logs less verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
john-z-yang committed Oct 24, 2024
1 parent beeb1b4 commit a2cb77e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ impl ConsumerContext for KafkaContext {
let (rendezvous_sender, rendezvous_receiver) = sync_channel(0);
match rebalance {
Rebalance::Assign(tpl) => {
info!("Got pre-rebalance callback, kind: Assign");
debug!("Got pre-rebalance callback, kind: Assign");
let _ = self.event_sender.send((
Event::Assign(tpl.to_topic_map().keys().cloned().collect()),
rendezvous_sender,
Expand All @@ -127,7 +127,7 @@ impl ConsumerContext for KafkaContext {
info!("Rendezvous complete");
}
Rebalance::Revoke(tpl) => {
info!("Got pre-rebalance callback, kind: Revoke");
debug!("Got pre-rebalance callback, kind: Revoke");
let _ = self.event_sender.send((
Event::Revoke(tpl.to_topic_map().keys().cloned().collect()),
rendezvous_sender,
Expand All @@ -137,7 +137,7 @@ impl ConsumerContext for KafkaContext {
info!("Rendezvous complete");
}
Rebalance::Error(err) => {
info!("Got pre-rebalance callback, kind: Error");
debug!("Got pre-rebalance callback, kind: Error");
error!("Got rebalance error: {}", err);
}
}
Expand Down

0 comments on commit a2cb77e

Please sign in to comment.