-
Notifications
You must be signed in to change notification settings - Fork 14.9k
KAFKA-20163: Missing MM2 default exclude configs #21443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Conversation
This patch adds the following missing configuration in MM2 exclude defaults that were introduced in KIP-937: - log.message.timestamp.before.max.ms - log.message.timestamp.after.max.ms Signed-off-by: Federico Valeri <fedevaleri@gmail.com>
| public static final String CONFIG_PROPERTIES_EXCLUDE_DEFAULT = "follower\\.replication\\.throttled\\.replicas, " | ||
| + "leader\\.replication\\.throttled\\.replicas, " | ||
| + "message\\.timestamp\\.difference\\.max\\.ms, " | ||
| + "message\\.timestamp\\.type, " | ||
| + "unclean\\.leader\\.election\\.enable, " | ||
| + "min\\.insync\\.replicas"; | ||
| public static final String CONFIG_PROPERTIES_EXCLUDE_DEFAULT = "follower.replication.throttled.replicas, " | ||
| + "leader.replication.throttled.replicas, " | ||
| + "message.timestamp.difference.max.ms, " | ||
| + "log.message.timestamp.before.max.ms, " | ||
| + "log.message.timestamp.after.max.ms, " | ||
| + "message.timestamp.type, " | ||
| + "unclean.leader.election.enable, " | ||
| + "min.insync.replicas"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing double backslash before full stops is fine in practice. An unescaped full stop would only cause a false match if there were a config property name identical except with a different character where a dot is (e.g. minXinsync.replicas), which doesn't exist in Kafka's config space. The readability improvement outweighs the theoretical imprecision.
|
@showuon fyi |
showuon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This patch adds the following missing configuration in MM2 exclude defaults that were introduced in KIP-937: