|
|
|
@ -20,10 +20,20 @@ server: |
|
|
|
# Server bind port |
|
|
|
port: "${HTTP_BIND_PORT:8081}" |
|
|
|
|
|
|
|
# Clustering properties |
|
|
|
cluster: |
|
|
|
# Unique id for this node (autogenerated if empty) |
|
|
|
node_id: "${CLUSTER_NODE_ID:}" |
|
|
|
# Zookeeper connection parameters. Used for service discovery. |
|
|
|
zk: |
|
|
|
# Enable/disable zookeeper discovery service. |
|
|
|
enabled: "${ZOOKEEPER_ENABLED:false}" |
|
|
|
# Zookeeper connect string |
|
|
|
url: "${ZOOKEEPER_URL:localhost:2181}" |
|
|
|
# Zookeeper retry interval in milliseconds |
|
|
|
retry_interval_ms: "${ZOOKEEPER_RETRY_INTERVAL_MS:3000}" |
|
|
|
# Zookeeper connection timeout in milliseconds |
|
|
|
connection_timeout_ms: "${ZOOKEEPER_CONNECTION_TIMEOUT_MS:3000}" |
|
|
|
# Zookeeper session timeout in milliseconds |
|
|
|
session_timeout_ms: "${ZOOKEEPER_SESSION_TIMEOUT_MS:3000}" |
|
|
|
# Name of the directory in zookeeper 'filesystem' |
|
|
|
zk_dir: "${ZOOKEEPER_NODES_DIR:/thingsboard}" |
|
|
|
|
|
|
|
# HTTP server parameters |
|
|
|
transport: |
|
|
|
@ -43,7 +53,7 @@ transport: |
|
|
|
max_string_value_length: "${JSON_MAX_STRING_VALUE_LENGTH:0}" |
|
|
|
|
|
|
|
queue: |
|
|
|
type: "${TB_QUEUE_TYPE:in-memory}" # kafka or in-memory or aws-sqs or pubsub or service-bus |
|
|
|
type: "${TB_QUEUE_TYPE:kafka}" # kafka (Apache Kafka) or aws-sqs (AWS SQS) or pubsub (PubSub) or service-bus (Azure Service Bus) or rabbitmq (RabbitMQ) |
|
|
|
kafka: |
|
|
|
bootstrap.servers: "${TB_KAFKA_SERVERS:localhost:9092}" |
|
|
|
acks: "${TB_KAFKA_ACKS:all}" |
|
|
|
|