How to set up Broker config and other configs like bookie etc #19276
-
Hi All, I am new to pulsar and I am creating a pulsar cluster in aws EKS stack using helm charts.I have a question regarding how to set up broker conf and other conf via helm chart. or does it have to be done via java admin client? can you pls provide clarity on how this can be achieved, one of the error that i am getting is , |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Configuring Pulsar Broker and Bookkeeper in Apache Pulsar Helm chartHere's an example from the pulsar-helm-chart CI tests: https://github.com/apache/pulsar-helm-chart/blob/8ad7cf6b6508a23546a8d5a66e5319cf36f39712/.ci/clusters/values-broker-tls.yaml#L43-L60 # these are values used in pulsar-helm-chart CI, they aren't examples of production settings
bookkeeper:
replicaCount: 3
configData:
diskUsageThreshold: "0.999"
diskUsageWarnThreshold: "0.999"
PULSAR_PREFIX_diskUsageThreshold: "0.999"
PULSAR_PREFIX_diskUsageWarnThreshold: "0.999"
broker:
replicaCount: 1
configData:
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
## without persistence
autoSkipNonRecoverableData: "true"
# storage settings
managedLedgerDefaultEnsembleSize: "1"
managedLedgerDefaultWriteQuorum: "1"
managedLedgerDefaultAckQuorum: "1" For the broker, use the The way this works is that a Python script apply-config-from-env.py is used to apply environment variables found in the config file. If there's no match, for a key config, it's necessary to use an environment variable with Example of configuring
|
Beta Was this translation helpful? Give feedback.
Configuring Pulsar Broker and Bookkeeper in Apache Pulsar Helm chart
Here's an example from the pulsar-helm-chart CI tests: https://github.com/apache/pulsar-helm-chart/blob/8ad7cf6b6508a23546a8d5a66e5319cf36f39712/.ci/clusters/values-broker-tls.yaml#L43-L60