69 lines
1.7 KiB
Plaintext
69 lines
1.7 KiB
Plaintext
# Apache Pulsar version
|
|
PULSAR_VERSION=4.0.7
|
|
|
|
# Timezone
|
|
TZ=UTC
|
|
|
|
# Global registry prefix (optional)
|
|
# GLOBAL_REGISTRY=your-registry.example.com/
|
|
|
|
# ==================== Port Overrides ====================
|
|
|
|
# Pulsar broker port (default: 6650)
|
|
# PULSAR_BROKER_PORT_OVERRIDE=6650
|
|
|
|
# Pulsar HTTP/Admin port (default: 8080)
|
|
# PULSAR_HTTP_PORT_OVERRIDE=8080
|
|
|
|
# ==================== Standalone Mode Configuration ====================
|
|
|
|
# Enable ZooKeeper for standalone mode (0 = RocksDB, 1 = ZooKeeper)
|
|
# PULSAR_STANDALONE_USE_ZOOKEEPER=0
|
|
|
|
# JVM memory settings for standalone
|
|
# PULSAR_MEM=-Xms512m -Xmx512m -XX:MaxDirectMemorySize=256m
|
|
|
|
# ==================== Resource Limits (Standalone) ====================
|
|
|
|
# CPU limits
|
|
# PULSAR_CPU_LIMIT=2.00
|
|
# PULSAR_CPU_RESERVATION=0.50
|
|
|
|
# Memory limits
|
|
# PULSAR_MEMORY_LIMIT=2G
|
|
# PULSAR_MEMORY_RESERVATION=512M
|
|
|
|
# ==================== Cluster Mode Configuration ====================
|
|
|
|
# Cluster name
|
|
# PULSAR_CLUSTER_NAME=cluster-a
|
|
|
|
# ZooKeeper JVM memory settings
|
|
# ZOOKEEPER_MEM=-Xms256m -Xmx256m -XX:MaxDirectMemorySize=256m
|
|
|
|
# BookKeeper JVM memory settings
|
|
# BOOKIE_MEM=-Xms512m -Xmx512m -XX:MaxDirectMemorySize=256m
|
|
|
|
# Broker JVM memory settings
|
|
# BROKER_MEM=-Xms512m -Xmx512m -XX:MaxDirectMemorySize=256m
|
|
|
|
# ==================== Resource Limits (Cluster Mode) ====================
|
|
|
|
# ZooKeeper resources
|
|
# ZOOKEEPER_CPU_LIMIT=1.00
|
|
# ZOOKEEPER_CPU_RESERVATION=0.25
|
|
# ZOOKEEPER_MEMORY_LIMIT=512M
|
|
# ZOOKEEPER_MEMORY_RESERVATION=256M
|
|
|
|
# BookKeeper resources
|
|
# BOOKIE_CPU_LIMIT=1.00
|
|
# BOOKIE_CPU_RESERVATION=0.25
|
|
# BOOKIE_MEMORY_LIMIT=1G
|
|
# BOOKIE_MEMORY_RESERVATION=512M
|
|
|
|
# Broker resources
|
|
# BROKER_CPU_LIMIT=2.00
|
|
# BROKER_CPU_RESERVATION=0.50
|
|
# BROKER_MEMORY_LIMIT=2G
|
|
# BROKER_MEMORY_RESERVATION=512M
|