You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jose Armando Garcia Sancio (Jira)" <ji...@apache.org> on 2021/04/08 16:49:00 UTC
[jira] [Commented] (KAFKA-12555) Log reason for rolling a segment
[ https://issues.apache.org/jira/browse/KAFKA-12555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17317339#comment-17317339 ]
Jose Armando Garcia Sancio commented on KAFKA-12555:
----------------------------------------------------
Thanks [~enether]. This is a good idea. Can you document some/all of the reasons why the log is rolled?
> Log reason for rolling a segment
> --------------------------------
>
> Key: KAFKA-12555
> URL: https://issues.apache.org/jira/browse/KAFKA-12555
> Project: Kafka
> Issue Type: Improvement
> Reporter: Stanislav Kozlovski
> Priority: Minor
> Labels: newbie
>
> It would be useful for issue-diagnostic purposes to log the reason for why a log segment was rolled (https://github.com/apache/kafka/blob/e840b03a026ddb9a67a15a164d877545130d6e17/core/src/main/scala/kafka/log/Log.scala#L2069)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)