ConcurrencyPractitioner edited a comment on issue #3450: Adding configuration 
to disable auto-topic creation
URL: https://github.com/apache/pulsar/pull/3450#issuecomment-457945680
 
 
   Ok, I did some digging and here's what I found:
   ```createIfMissing``` is used when seeing if a Z-Node is already built for a 
ledger. If a Z-Node does not exist, then a new one will be created (i.e. if 
```createIfMissing``` equals ```true```). 
   
   I found that ```PersistentTopicsBase``` will (probably?) create a new 
```PersistentTopic``` if there is no partition metadata 
(```partitionMetadata.partitions == 0 ```) for that particular store.  At this 
point, I'm not too sure what this means.
   
   My best guess is that if there is no Z-Node for a ledger,  then that means 
no partitions exists for it either. @sijie 
   
   At this point, I'm not too sure what connection ```createIfMissing``` has 
with ```partitionMetadata.partitions```.
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to