Skip to content

Commit

Permalink
Change rebalance log level from debug to info
Browse files Browse the repository at this point in the history
  • Loading branch information
BewareMyPower committed Jul 20, 2020
1 parent ebdfdd9 commit c4b55b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cxx/src/qbus_consumer_imp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -733,14 +733,14 @@ void QbusConsumerImp::rdkafka_rebalance_cb(

switch (err) {
case RD_KAFKA_RESP_ERR__ASSIGN_PARTITIONS: {
DEBUG(__FUNCTION__ << " | rebalance result OK: "
INFO(__FUNCTION__ << " | rebalance result OK: "
<< QbusHelper::FormatTopicPartitionList(partitions));
rd_kafka_assign(rk, partitions);
consumer_imp->topic_partition_set_.init(partitions);
consumer_imp->SetHasAssigned(true);
} break;
case RD_KAFKA_RESP_ERR__REVOKE_PARTITIONS: {
DEBUG(__FUNCTION__ << " | rebalance result revoke | msg: "
INFO(__FUNCTION__ << " | rebalance result revoke | msg: "
<< rd_kafka_err2str(err) << " | "
<< QbusHelper::FormatTopicPartitionList(partitions));
if (!consumer_imp->is_auto_commit_offset_) {
Expand Down

0 comments on commit c4b55b7

Please sign in to comment.