1. Manage StreamNative Clusters
  2. Configure Clusters

Cluster Configuration Overview

The config section in a PulsarCluster specification allows users to configure the features and settings to be used for their Pulsar cluster. This topic aims to provide a comprehensive overview of the available configuration options, helping users tailor their Pulsar clusters to specific requirements and use cases.

Available Configuration Options

The available settings in config section in a PulsarCluster specification can be grouped into the following three categories:

  1. Cluster Features: These settings control the various features and functionalities of your Pulsar cluster.
  2. Protocols: This setting allows you to configure the supported protocols for your Pulsar cluster, including Kafka, AMQP, MQTT, and Websocket.
  3. Cluster Settings: This setting allows you to configure custom cluster settings for your Pulsar cluster.

The detailed descriptions of the available settings are as follows:

The config section in a PulsarCluster specification includes the following key components:

CategoryConfiguration OptionDescription
FeaturesFunctionEnabledControls whether Pulsar Functions are enabled
FeaturesTransactionEnabledControls whether Pulsar Transactions are enabled
FeaturesAuditLogConfigures audit log settings
ProtocolsProtocolsConfigures supported protocols (Kafka, AMQP, MQTT)
ProtocolsWebsocketEnabledControls whether WebSocket protocol is enabled
SettingsCustomAllows for custom cluster settings

Update Cluster Configuration

To update the cluster configuration, you can use one of the following methods:

In the cluster provision process, when you select a release channel, you can choose to enable or disable the cluster features and protocols based on your requirements. You can also click the "Add optional custom configuration" to set custom cluster settings for your Pulsar cluster.

Configure Cluster

After cluster is provisioned, you can view the current cluster configuration through the "Configuration" page of your Pulsar cluster. You can also update the cluster configuration by clicking the "Edit Cluster" button at the top right corner of the page. You will be redirected to the same configuration page you see in the provision process, where you can make the desired changes to the configuration options.

Cluster Configuration

Please note that not all configuration options are modifiable. Some settings are determined by the release channel you selected during the cluster provision process and cannot be changed. Updating the cluster configuration will cause the cluster to roll restart all the brokers. Please make sure to update the cluster configuration during off-peak hours to avoid any disruptions to your service.

Next Steps

Previous
Release Channel