lhotari opened a new pull request #12137: URL: https://github.com/apache/pulsar/pull/12137
### Motivation Currently, the default number of namespace bundles is 4. This leads to cases where a lot of topics can reside in just 1 or 2 brokers in 3 broker cluster. Side note: A good rule of thumb rule for defining the number of shards is to have at least 10x more shards than there are nodes. In Pulsar a "namespace bundle" behaves like a shard. In addition to this, some sharding algorithms might provide a better distribution when the number of shards is a power of 2. From these rules, you could get that a 3 broker node cluster should use 32 bundles, a 4-6 node cluster 64 bundles and 7-12 node cluster should use 128 bundles. This might not be the best advice, but I haven't seen better rule of thumbs rules. ### Modifications Change the defaultNumberOfNamespaceBundles to 32. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
