[
https://issues.apache.org/jira/browse/KAFKA-2529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14739774#comment-14739774
]
Joel Koshy commented on KAFKA-2529:
-----------------------------------
Yes this was done in KAFKA-1901, but one issue is that the above is logged at
start-up, and logs will eventually roll (and typically garbage collected). I
thought of this in KAFKA-1901 but thought it should be fine since there are
multiple ways right now to get the version:
* via JMX
* Use {{jar xf ...}}
* Logs (if still available)
One easy way to take care of this would be to just have a scheduled task (say,
every minute or so) that logs the version, but some may consider that to be
annoying.
> Brokers should write current version to log when they first start
> -----------------------------------------------------------------
>
> Key: KAFKA-2529
> URL: https://issues.apache.org/jira/browse/KAFKA-2529
> Project: Kafka
> Issue Type: Bug
> Reporter: Gwen Shapira
>
> It is currently non-trivial to tell, by looking at log files, which version
> of Kafka is the log from.
> Having this information can be useful in some troubleshooting scenarios. We
> are exposing this via JMX, but since troubleshooting usually involves asking
> for logs, it will be nice if this information will be included there.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)