cuishuang commented on code in PR #23371:
URL: https://github.com/apache/kafka/pull/23371#discussion_r3978653211
##########
server/src/main/java/org/apache/kafka/server/metrics/ClientMetricsConfigs.java:
##########
@@ -195,7 +195,7 @@ public static Map<String, Pattern>
parseMatchingPatterns(List<String> patterns)
Map<String, Pattern> patternsMap = new HashMap<>();
patterns.forEach(pattern -> {
- String[] nameValuePair = pattern.split("=");
+ String[] nameValuePair = pattern.split("=", 2);
Review Comment:
Thanks for the review. I added the requested comment above the modified line
and pushed the update as a single commit.
Please review it again.
--
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]