Skip to content

Commit

Permalink
change listOffset log level to debug (apache#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
dockerzhang authored Dec 9, 2020
1 parent c72cd72 commit 024ea31
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,9 @@ private void handleListOffsetRequestV0(KafkaHeaderAndRequest listOffset,

// in v0, the iterator is offsetData,
// in v1, the iterator is partitionTimestamps,
log.warn("received a v0 listOffset: {}", request.toString(true));
if (log.isDebugEnabled()) {
log.debug("received a v0 listOffset: {}", request.toString(true));
}
request.offsetData().entrySet().stream().forEach(tms -> {
TopicPartition topic = tms.getKey();
String fullPartitionName = KopTopic.toString(topic);
Expand Down

0 comments on commit 024ea31

Please sign in to comment.