Skip to content

Commit

Permalink
[kafka] improve verbosity while rebalancing consumers (#1166)
Browse files Browse the repository at this point in the history
  • Loading branch information
kvignesh1420 authored Oct 31, 2020
1 parent 4782435 commit d258989
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tensorflow_io/core/kernels/kafka_kernels.cc
Original file line number Diff line number Diff line change
Expand Up @@ -786,8 +786,8 @@ class KafkaRebalanceCb : public RdKafka::RebalanceCb {

LOG(INFO) << "REBALANCE: " << partitions[partition]->topic() << "["
<< partitions[partition]->partition() << "], "
<< partitions[partition]->offset() << " "
<< partitions[partition]->err();
<< "OFFSET: " << partitions[partition]->offset() << " "
<< "ERROR_CODE: " << partitions[partition]->err();
}
if (err == RdKafka::ERR__ASSIGN_PARTITIONS) {
// librdkafka does not actually look up the stored offsets before
Expand Down

0 comments on commit d258989

Please sign in to comment.