You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/06/18 16:20:03 UTC

[GitHub] [pulsar] trexinc opened a new issue #7306: regex consumer fails to subscribe when partitions are missing

trexinc opened a new issue #7306:
URL: https://github.com/apache/pulsar/issues/7306


   For reasons unknown some partitioned topics are missing one of the partitions. Should be 3, but not all are created.
   
   When that happens and I start a regex consumer that catches those partitioned topics:
   `bin/pulsar-client consume -s test3 --regex 'tenant/ns/topic.*'`
   It fails:
   `[MultiTopicsConsumer-f47ed] Failed to subscribe for topic [persistent://tenant/ns/topicXYZ] in topics consumer, subscribe error: org.apache.pulsar.client.api.PulsarClientException$TopicDoesNotExistException: Topic does not exist`
   
   I managed to fix it using "create-missed-partitions", but why aren't the missing partitions created automatically when the consumer is connected?


----------------------------------------------------------------
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.

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



[GitHub] [pulsar] trexinc commented on issue #7306: regex consumer fails to subscribe when partitions are missing

Posted by GitBox <gi...@apache.org>.
trexinc commented on issue #7306:
URL: https://github.com/apache/pulsar/issues/7306#issuecomment-646139688


   In addition I didn't expect the regex consumer to fail at all, it should subscribe IMHO to what it can and not fail completely if it can't connect to some.


----------------------------------------------------------------
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.

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