This document describes how to resize the Pulsar cluster based on the demand of your workload. When demand is high, you can add nodes to scale up the cluster. When demand is low, you can scale the Pulsar cluster back down.
You can resize a Pulsar cluster by increasing or decreasing the number of Pulsar components, including the Pulsar brokers, BookKeeper, ZooKeeper, and Pulsar Proxy. In most cases, you only need to add or remove the Pulsar broker and BookKeeper nodes.
It takes a few steps to add new nodes to a Pulsar cluster:
By default, StreamNative Platform supports automatic load balancing.
To scale up the Pulsar cluster, follow these steps.
Increase the number of nodes by setting the replicaCount
option with a greater value in the Pulsar CRD file.
Update the Pulsar cluster with the new settings.
To scale down the Pulsar cluster, follow these steps.
Decrease the number of nodes by setting the replicaCount
option with a greater value in the Pulsar CRD file.
Update the Pulsar cluster with the new settings.
Wait an appropriate time for traffic to be replicated to other existing nodes. The time varies on the cluster size and the number of topics.
This document describes how to resize the Pulsar cluster based on the demand of your workload. When demand is high, you can add nodes to scale up the cluster. When demand is low, you can scale the Pulsar cluster back down.
You can resize a Pulsar cluster by increasing or decreasing the number of Pulsar components, including the Pulsar brokers, BookKeeper, ZooKeeper, and Pulsar Proxy. In most cases, you only need to add or remove the Pulsar broker and BookKeeper nodes.
It takes a few steps to add new nodes to a Pulsar cluster:
By default, StreamNative Platform supports automatic load balancing.
To scale up the Pulsar cluster, follow these steps.
Increase the number of nodes by setting the replicaCount
option with a greater value in the Pulsar CRD file.
Update the Pulsar cluster with the new settings.
To scale down the Pulsar cluster, follow these steps.
Decrease the number of nodes by setting the replicaCount
option with a greater value in the Pulsar CRD file.
Update the Pulsar cluster with the new settings.
Wait an appropriate time for traffic to be replicated to other existing nodes. The time varies on the cluster size and the number of topics.