f-ld commented on issue #5104: Handle already have connected replicate produce 
with same name
URL: https://github.com/apache/pulsar/issues/5104#issuecomment-542757789
 
 
   Could it be linked to the fact that, after creating the clusters and 
brokers, when I created the `tenant/namespace` namespace, I already had some 
clients trying to produce / consumer from the 
`persistent://tenant/namespace/topic`.
   Then it would have been automatically created as non partitioned. And then a 
few (milli)seconds later I created it partitioned causing some bad state inside 
brokers ?
   
   This is basically what I did from region1 after creating all my brokers 
(with consumers (for sure), and maybe producers, trying to connect to that 
topic):
   ```
   pulsar-admin namespaces create tenant/namespace --bundles 12
   pulsar-admin namespaces set-clusters tenant/namespace --clusters 
region1,region2,region3,region4,region5
   pulsar-admin namespaces set-message-ttl  tenant/namespace --messageTTL 60
   pulsar-admin namespaces set-retention tenant/namespace --time 0 --size -1
   pulsar-admin topics create-partitioned-topic 
persistent://$tenant/namespace/topic -p 12
   ```
   

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


With regards,
Apache Git Services

Reply via email to