Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions charts/pulsar/templates/zookeeper-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,9 @@ data:
PULSAR_PREFIX_serverCnxnFactory: org.apache.zookeeper.server.NIOServerCnxnFactory
serverCnxnFactory: org.apache.zookeeper.server.NIOServerCnxnFactory
{{- end }}
{{- if .Values.pulsar_metadata.metadataStoreAllowReadOnlyOperations }}
PULSAR_PREFIX_localSessionsEnabled: "true"
PULSAR_PREFIX_localSessionsUpgradingEnabled: "true"
{{- end }}
{{ toYaml .Values.zookeeper.configData | indent 2 }}
{{- end }}
1 change: 1 addition & 0 deletions charts/pulsar/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1025,6 +1025,7 @@ pulsar_metadata:

## Allow read-only operations on the metadata store when the metadata store is not available.
## This is useful when you want to continue serving requests even if the metadata store is not fully available with quorum.
## NOTICE: This mode is not recommended for production use and no tests exist to validate the behavior.
metadataStoreAllowReadOnlyOperations: false

## The session timeout for the metadata store in milliseconds.
Expand Down
Loading