chia7712 commented on code in PR #23371:
URL: https://github.com/apache/kafka/pull/23371#discussion_r4151416392
##########
server/src/main/java/org/apache/kafka/server/metrics/ClientMetricsConfigs.java:
##########
@@ -195,7 +195,8 @@ public static Map<String, Pattern>
parseMatchingPatterns(List<String> patterns)
Map<String, Pattern> patternsMap = new HashMap<>();
Review Comment:
I prefer to use RE2 as well, but it is still a behavior change. If users
stored a string incompatible with RE2 on the server, it can cause unexpected
errors during a Kafka upgrade.
I bet the chance is almost zero, but it is Kafka. At least we need to catch
the error and leave a warning log for users.
@AndrewJSchofield do you have free time to handle it? Or I could ask other
contributors to take it over.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]