You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ismael Juma (Jira)" <ji...@apache.org> on 2021/03/11 21:47:00 UTC

[jira] [Commented] (KAFKA-12456) Log "Listeners are not identical across brokers" message at WARN/INFO instead of ERROR

    [ https://issues.apache.org/jira/browse/KAFKA-12456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17299889#comment-17299889 ] 

Ismael Juma commented on KAFKA-12456:
-------------------------------------

I suggest INFO.

> Log "Listeners are not identical across brokers" message at WARN/INFO instead of ERROR
> --------------------------------------------------------------------------------------
>
>                 Key: KAFKA-12456
>                 URL: https://issues.apache.org/jira/browse/KAFKA-12456
>             Project: Kafka
>          Issue Type: Improvement
>          Components: core, security
>    Affects Versions: 2.7.0, 2.6.1
>            Reporter: Michael Bingham
>            Priority: Minor
>
> Currently, when listeners are not identical across brokers, an {{ERROR}} level log message is generated like:
> {code:java}
>  [2021-03-11 20:25:18,881] ERROR [MetadataCache brokerId=0] Listeners are not identical across brokers: LongMap(0 -> Map(ListenerName(PLAINTEXT) -> 192.168.111.99:9092 (id: 0 rack: null), ListenerName(SSL) -> 192.168.111.99:9094 (id: 0 rack: null), ListenerName(SASL_PLAINTEXT) -> 192.168.111.99:9093 (id: 0 rack: null)), 2 -> Map(ListenerName(PLAINTEXT) -> 192.168.116.148:9092 (id: 2 rack: null), ListenerName(SASL_PLAINTEXT) -> 192.168.116.148:9093 (id: 2 rack: null)), 1 -> Map(ListenerName(PLAINTEXT) -> 192.168.111.100:9092 (id: 1 rack: null), ListenerName(SASL_PLAINTEXT) -> 192.168.111.100:9093 (id: 1 rack: null))) (kafka.server.MetadataCache) {code}
> When adding security incrementally with a rolling update, this event is normal/expected, so recommend lowering the log level for this message to {{WARN}} or {{INFO}}  to avoid confusion.
> This log message was originally added with https://issues.apache.org/jira/browse/KAFKA-6501 . 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)