@ -28,20 +28,20 @@ server:
# Server bind port (has no effect if web-environment is disabled).
port : "${HTTP_BIND_PORT:8083}"
# Zook eeper connection parameters. Used for service discovery.
# ZooK eeper connection parameters. Used for service discovery.
# Defines ZooKeeper connectivity, timeouts, and cluster node registration settings for service coordination.
zk:
# Enable/disable zook eeper discovery service.
# Enable/disable ZooK eeper discovery service.
enabled : "${ZOOKEEPER_ENABLED:false}"
# Zook eeper connect string
# ZooK eeper connect string
url : "${ZOOKEEPER_URL:localhost:2181}"
# Zook eeper retry interval in milliseconds
# ZooK eeper retry interval in milliseconds
retry_interval_ms : "${ZOOKEEPER_RETRY_INTERVAL_MS:3000}"
# Zook eeper connection timeout in milliseconds
# ZooK eeper connection timeout in milliseconds
connection_timeout_ms : "${ZOOKEEPER_CONNECTION_TIMEOUT_MS:3000}"
# Zook eeper session timeout in milliseconds
# ZooK eeper session timeout in milliseconds
session_timeout_ms : "${ZOOKEEPER_SESSION_TIMEOUT_MS:3000}"
# Name of the directory in zook eeper 'filesystem'
# Name of the directory in ZooK eeper 'filesystem'
zk_dir : "${ZOOKEEPER_NODES_DIR:/thingsboard}"
# The recalculate_delay property is recommended in a microservices architecture setup for rule-engine services.
# This property provides a pause to ensure that when a rule-engine service is restarted, other nodes don't immediately attempt to recalculate their partitions.