dongjinleekr commented on a change in pull request #640:
URL: https://github.com/apache/logging-log4j2/pull/640#discussion_r775189022



##########
File path: 
log4j-kafka/src/main/java/org/apache/logging/log4j/kafka/appender/KafkaAppender.java
##########
@@ -136,6 +136,18 @@ public B setRetryCount(final String retryCount) {
         return new Builder<B>().asBuilder();
     }
 
+    private static final String[] KAFKA_CLIENT_PACKAGES = new String[] { 
"org.apache.kafka.common", "org.apache.kafka.clients" };

Review comment:
       It seems like we are checking the package prefix, not the exact match. 
Is there any way to do prefix match with binary search? (Or, using regex would 
be better?)




-- 
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: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to