lianetm commented on code in PR #17897:
URL: https://github.com/apache/kafka/pull/17897#discussion_r1852568080
##########
clients/src/main/java/org/apache/kafka/clients/consumer/MockConsumer.java:
##########
@@ -143,6 +143,16 @@ public synchronized void subscribe(Pattern pattern) {
subscribe(pattern, Optional.empty());
}
+ @Override
+ public void subscribe(SubscriptionPattern pattern,
ConsumerRebalanceListener callback) {
+ throw new UnsupportedOperationException("Subscribe to RE2/J regular
expression not supported in MockConsumer yet");
Review Comment:
note: support in MockConsumer will come in follow-up PR
--
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]