lianetm commented on code in PR #17918:
URL: https://github.com/apache/kafka/pull/17918#discussion_r1854698794
##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/SubscriptionState.java:
##########
@@ -108,13 +112,21 @@ private enum SubscriptionType {
public synchronized String toString() {
return "SubscriptionState{" +
"type=" + subscriptionType +
- ", subscribedPattern=" + subscribedPattern +
+ ", subscribedPattern=" + subscribedPatternInUse() +
Review Comment:
I'm intentionally avoiding differentiating the 2 patterns output thinking
that it will help have a smooth transition when we end up deprecating/removing
the old pattern in the future. Makes sense?
--
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]