You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Luke Chen (Jira)" <ji...@apache.org> on 2026/02/24 09:26:00 UTC

[jira] [Resolved] (KAFKA-20163) Missing MM2 default exclude configs

     [ https://issues.apache.org/jira/browse/KAFKA-20163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luke Chen resolved KAFKA-20163.
-------------------------------
    Fix Version/s: 4.2.0
       Resolution: Fixed

> Missing MM2 default exclude configs
> -----------------------------------
>
>                 Key: KAFKA-20163
>                 URL: https://issues.apache.org/jira/browse/KAFKA-20163
>             Project: Kafka
>          Issue Type: Bug
>          Components: mirrormaker
>    Affects Versions: 3.6.2, 3.7.2, 3.8.1, 3.9.1, 4.0.1, 4.1.1
>            Reporter: Federico Valeri
>            Assignee: Federico Valeri
>            Priority: Minor
>             Fix For: 4.2.0
>
>
> The default value of config.properties.exclude in MirrorMaker 2 currently includes:
> {code}
> follower.replication.throttled.replicas,
> leader.replication.throttled.replicas,
> message.timestamp.difference.max.ms,
> message.timestamp.type,
> unclean.leader.election.enable,
> min.insync.replicas
> {code}
> After [KIP-937 Improve Message Timestamp Validation|https://cwiki.apache.org/confluence/display/KAFKA/KIP-937%3A+Improve+Message+Timestamp+Validation] (Kafka 3.6.0), the config message.timestamp.difference.max.ms was deprecated (and removed in 4.0), and two new configs were introduced as replacements:
> {code}
> log.message.timestamp.before.max.ms
> log.message.timestamp.after.max.ms
> {code}
> These two new configs should be added to the default config.properties.exclude list, since they serve the same purpose as the already-excluded message.timestamp.difference.max.ms and are broker-level configs that should not be replicated across clusters.
> Additionally, the documentation for this config is hard to read because it includes \ in front of every . character. This should be improved for readability.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)