merlimat commented on pull request #8685:
URL: https://github.com/apache/pulsar/pull/8685#issuecomment-737024073


   > One question, with an Exclusive Producer, what happens if I delete and 
recreate a topic?
   > 
   > * create a topic
   > * start ex producer  and write
   > * delete/create the same topic
   > * is the producer still valid?
   >   I expect the ex producer to be fenced out.
   >   Is this the case?
   
   Deleting the topic will delete all the state associated with the topic. If 
the topic is re-created, it's effectively a different topic. All the state 
associated with the topic is gone: subscriptions, dedup state, fencing.
   
   The topic epoch will be reset after the deletion, so it should allow the 
producer. I will add specific test for this.
   


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