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 2021/08/25 00:48:43 UTC

[GitHub] [pulsar] xuesongxs commented on issue #11756: When one consumer subscribes to multiple topics, disable allowAutoTopicCreation in broker.conf, as long as one topic in the topic list does not exist, messages cannot be received

xuesongxs commented on issue #11756:
URL: https://github.com/apache/pulsar/issues/11756#issuecomment-905075363


   > So in my understanding, there are two bugs
   > 
   > 1. when subscribe to a non-exist topic and some existing topics, the consumer  is expected to consume data from the existing topics, but we find it can't.
   > 2. Despite case 1, when we delete the non-exsit topic subscription from the subscription, the consumer is expected to consume data from existing topics, and now we observed after case 1, the consumer doesn't behave as expected.
   > 
   > To me case 2 indicates some isolation issue between different client connections which seems a bigger trouble. Do you see any error messages after your step 8 on why it cannot receive message from the existing topic? Thanks ~
   
   After step 8, the consumer's log show subscribe succeeded, but no more information:
   ```
   2021-08-25 08:41:45.327 [pulsar-client-io-1-1] INFO  org.apache.pulsar.client.impl.ConsumerImpl - [persistent://public/default/test-string112-partition-0][consumerSych] Subscribing to topic on cnx [id: 0xb65309ef, L:/172.32.147.245:7184 - R:/172.32.149.123:16650]  
   2021-08-25 08:41:45.364 [pulsar-client-io-1-1] INFO  org.apache.pulsar.client.impl.ConsumerImpl - [persistent://public/default/test-string112-partition-0][consumerSych] Subscribed to topic on /172.32.149.123:16650 -- consumer: 0  
   2021-08-25 08:41:45.368 [pulsar-client-io-1-1] INFO  o.a.pulsar.client.impl.MultiTopicsConsumerImpl - [persistent://public/default/test-string112] [consumerSych] Success subscribe new topic persistent://public/default/test-string112 in topics consumer, partitions: 1, allTopicPartitionsNumber: 1  
   ```
   
   The consumer app has no other log information.
   
   
   
   


-- 
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: commits-unsubscribe@pulsar.apache.org

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