feat: add pulsar
This commit is contained in:
84
src/pulsar/.env.example
Normal file
84
src/pulsar/.env.example
Normal file
@@ -0,0 +1,84 @@
|
||||
# Apache Pulsar version
|
||||
PULSAR_VERSION=4.0.7
|
||||
|
||||
# Pulsar Manager version
|
||||
PULSAR_MANAGER_VERSION=v0.4.0
|
||||
|
||||
# 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
|
||||
|
||||
# Pulsar Manager web UI port (default: 9527)
|
||||
# PULSAR_MANAGER_PORT_OVERRIDE=9527
|
||||
|
||||
# Pulsar Manager backend port (default: 7750)
|
||||
# PULSAR_MANAGER_BACKEND_PORT_OVERRIDE=7750
|
||||
|
||||
# ==================== 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
|
||||
|
||||
# ==================== Pulsar Manager Resources ====================
|
||||
|
||||
# PULSAR_MANAGER_CPU_LIMIT=1.00
|
||||
# PULSAR_MANAGER_CPU_RESERVATION=0.25
|
||||
# PULSAR_MANAGER_MEMORY_LIMIT=512M
|
||||
# PULSAR_MANAGER_MEMORY_RESERVATION=256M
|
||||
Reference in New Issue
Block a user