[jira] [Commented] (KAFKA-9984) Should fail the subscription when pattern is empty
[ https://issues.apache.org/jira/browse/KAFKA-9984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17106857#comment-17106857 ] Boyang Chen commented on KAFKA-9984: [~guozhang] Thanks! > Should fail the subscription when pattern is empty > -- > > Key: KAFKA-9984 > URL: https://issues.apache.org/jira/browse/KAFKA-9984 > Project: Kafka > Issue Type: Bug > Components: consumer >Reporter: Boyang Chen >Priority: Major > > We have seen a case where the consumer subscribes to an empty string pattern: > ``` > [Consumer ... ] Subscribed to pattern: '' > ``` > which doesn't make any sense and usually indicate a configuration error. The > `consumer.subscribe(pattern)` call should fail with illegal argument for this > case. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (KAFKA-9984) Should fail the subscription when pattern is empty
[ https://issues.apache.org/jira/browse/KAFKA-9984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17106549#comment-17106549 ] Guozhang Wang commented on KAFKA-9984: -- Sounds good to me :) > Should fail the subscription when pattern is empty > -- > > Key: KAFKA-9984 > URL: https://issues.apache.org/jira/browse/KAFKA-9984 > Project: Kafka > Issue Type: Bug > Components: consumer >Reporter: Boyang Chen >Priority: Major > > We have seen a case where the consumer subscribes to an empty string pattern: > ``` > [Consumer ... ] Subscribed to pattern: '' > ``` > which doesn't make any sense and usually indicate a configuration error. The > `consumer.subscribe(pattern)` call should fail with illegal argument for this > case. -- This message was sent by Atlassian Jira (v8.3.4#803005)