Stanislaw Makarawec
09/04/2025, 3:24 PMRunLLM
09/04/2025, 3:24 PMallowed-clusters and the namespace's replicated-clusters are set to include all intended clusters using pulsar-admin tenants update and pulsar-admin namespaces set-clusters.
2. All clusters' metadata is updated and reachable, and SSL certs are valid and trusted by all brokers and proxies (see example).
3. If using Kubernetes or StreamNative Operator, ensure CRDs like replicatedClusters are set in the namespace spec (see StreamNative Operator issue).
Would you like more detail on troubleshooting SSL/TLS or on the admin commands to re-enable geo-replication?
Sources:
- Pulsar geo-replication docs
- see example
- see StreamNative Operator issue π 0 button π 0 button π‘ Hint: Mention @runllm in the thread for followups.Stanislaw Makarawec
09/04/2025, 3:28 PMRunLLM
09/04/2025, 3:28 PMLari Hotari
09/04/2025, 3:42 PMLari Hotari
09/04/2025, 3:42 PMStanislaw Makarawec
09/04/2025, 3:47 PMLari Hotari
09/04/2025, 3:49 PMStanislaw Makarawec
09/04/2025, 3:49 PMStanislaw Makarawec
09/04/2025, 3:49 PMStanislaw Makarawec
09/04/2025, 3:49 PMLari Hotari
09/04/2025, 3:58 PMproduce permission for the role that handles replication?Stanislaw Makarawec
09/04/2025, 3:59 PMStanislaw Makarawec
09/04/2025, 4:02 PMLari Hotari
09/04/2025, 4:03 PMLari Hotari
09/04/2025, 4:03 PMStanislaw Makarawec
09/04/2025, 4:06 PMLari Hotari
09/04/2025, 4:10 PMjstack 1 in the broker container just before the disconnection happens. To see if there's a deadlock. https://jstack.review/ is a great tool for analysing the thread dump. In any case, please file a GitHub issue about your problem at https://github.com/apache/pulsar/issues .Lari Hotari
09/04/2025, 4:12 PMStanislaw Makarawec
09/04/2025, 4:15 PMLari Hotari
09/04/2025, 4:34 PMWe have topic with 12k messages per sec, but replication can process only 7-7,5k messages. This topics was placed on broker without any others topics(bundles). It's some limitation of resources or configuration?Is this a regression with Pulsar 4.x or did the same problem exist before? The size of the messages matter most and whether they are batched since Pulsar will be replicating the original batches (also called "entries" in Pulsar) created by the producer clients. BookKeeper performance matters on the target cluster side so that it could write the replicated batches fast enough. A large BookKeeper journal disk helps get IOPS fast and if you can sacrifice durability, it's possible to disable fsync in BookKeeper (
journalSyncData=false ) to go faster when the journal disk isn't fast. In cloud disks, you usually get a relatively low amount of IOPS if your disk is small.
To play safe, increasing journalMaxGroupWaitMSec from the default value to 1 to 2 and increasing journalBufferedWritesThreshold helps reducing number of IO operations.Lari Hotari
09/04/2025, 4:36 PMLari Hotari
09/04/2025, 4:37 PMStanislaw Makarawec
09/04/2025, 4:38 PMLari Hotari
09/04/2025, 4:41 PMLari Hotari
09/04/2025, 4:45 PMmanagedLedgerMaxReadsInFlightSizeInMB) and PIP-430 Broker Cache improvements in Pulsar 4.1.0 (currently in release candidate phase) will be finally addressing broker cache problems.Stanislaw Makarawec
10/08/2025, 1:55 PMStanislaw Makarawec
10/08/2025, 1:55 PMLari Hotari
10/08/2025, 3:47 PMLari Hotari
10/08/2025, 3:49 PMStanislaw Makarawec
10/09/2025, 6:53 AM