alexku7 opened a new issue #8001:
URL: https://github.com/apache/pulsar/issues/8001


   After we delete a partitioned topic and recreate it again with the same name 
but with fewer partitions (1 instead of 3), the publisher  seems to be 
completely stuck. We need to restart the whole pulsar client in order to 
connect and publish messages again.
   
   The client and pulsar version is 2.6.1
   
   Steps to reproduce:
   1. Create a topic with 3 partitions :
   bin/pulsar-admin topics create-partitioned-topic 
persistent://sometenant/namespace/topic -p 3
   
   2. Connect and publish messages
   
   3. delete the topic and re-create again with one partitionL
   
   bin/pulsar-admin topics delete-partitioned-topic 
persistent://sometenant/namespace/topic
   bin/pulsar-admin topics create-partitioned-topic 
persistent://sometenant/namespace/topic -p 1
   
   4. The publisher will stuck without ability to reconnect to the topic 
without recreating the whole pulsar client
   
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to