You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2020/11/17 15:32:03 UTC

[GitHub] [kafka] lisa2lisa opened a new pull request #9604: [MINOR] adjust the log level to error

lisa2lisa opened a new pull request #9604:
URL: https://github.com/apache/kafka/pull/9604


   we recently encounter this log which should be more of a warn, or error message. Even though it checks acks=0, it still should bring people's attention on
   ```
   [2020-11-17 01:05:17,005] INFO [KafkaApi-2] Closing connection due to error during produce request with correlation id 1159730542 from client id -0 with ack=0
   Topic and partition to exceptions:some-topic-name-30 -> org.apache.kafka.common.errors.RecordTooLargeException (kafka.server.KafkaApis)
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kafka] chia7712 commented on a change in pull request #9604: [MINOR] adjust the log level to error

Posted by GitBox <gi...@apache.org>.
chia7712 commented on a change in pull request #9604:
URL: https://github.com/apache/kafka/pull/9604#discussion_r525799307



##########
File path: core/src/main/scala/kafka/server/KafkaApis.scala
##########
@@ -477,7 +477,7 @@ class KafkaApis(val requestChannel: RequestChannel,
           val exceptionsSummary = mergedResponseStatus.map { case (topicPartition, status) =>
             topicPartition -> status.error.exceptionName
           }.mkString(", ")
-          info(
+          error(

Review comment:
       Is this message duplicate to https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/server/KafkaApis.scala#L613 ? If so, is it better to remove one of them?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org