|
|
@ -17,10 +17,20 @@ |
|
|
spring.main.web-environment: false |
|
|
spring.main.web-environment: false |
|
|
spring.main.web-application-type: none |
|
|
spring.main.web-application-type: none |
|
|
|
|
|
|
|
|
# Clustering properties |
|
|
# Zookeeper connection parameters. Used for service discovery. |
|
|
cluster: |
|
|
zk: |
|
|
# Unique id for this node (autogenerated if empty) |
|
|
# Enable/disable zookeeper discovery service. |
|
|
node_id: "${CLUSTER_NODE_ID:}" |
|
|
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}" |
|
|
|
|
|
|
|
|
# COAP server parameters |
|
|
# COAP server parameters |
|
|
transport: |
|
|
transport: |
|
|
@ -42,7 +52,7 @@ transport: |
|
|
max_string_value_length: "${JSON_MAX_STRING_VALUE_LENGTH:0}" |
|
|
max_string_value_length: "${JSON_MAX_STRING_VALUE_LENGTH:0}" |
|
|
|
|
|
|
|
|
queue: |
|
|
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: |
|
|
kafka: |
|
|
bootstrap.servers: "${TB_KAFKA_SERVERS:localhost:9092}" |
|
|
bootstrap.servers: "${TB_KAFKA_SERVERS:localhost:9092}" |
|
|
acks: "${TB_KAFKA_ACKS:all}" |
|
|
acks: "${TB_KAFKA_ACKS:all}" |
|
|
|