Skip to content
Stand with Ukraine flag

Integration Executor Configuration

HTTP_BIND_ADDRESS · Default 0.0.0.0

Server bind address

HTTP_BIND_PORT · Default 8082

Server bind port

MAX_HTTP_FORM_POST_SIZE · Default 10000000

10Mb

SPRING_SERVLET_MULTIPART_MAX_FILE_SIZE · Default 50MB

Total file size cannot exceed 50MB when configuring file uploads

SPRING_SERVLET_MULTIPART_MAX_REQUEST_SIZE · Default 50MB

Total request size for a multipart/form-data cannot exceed 50MB

ZooKeeper connection parameters. Used for service discovery.

Section titled “ZooKeeper connection parameters. Used for service discovery.”

ZOOKEEPER_ENABLED · Default true

Enable/disable ZooKeeper discovery service.

ZOOKEEPER_URL · Default localhost:2181

ZooKeeper connect string

ZOOKEEPER_RETRY_INTERVAL_MS · Default 3000

ZooKeeper retry interval in milliseconds

ZOOKEEPER_CONNECTION_TIMEOUT_MS · Default 3000

ZooKeeper connection timeout in milliseconds

ZOOKEEPER_SESSION_TIMEOUT_MS · Default 3000

ZooKeeper session timeout in milliseconds

ZOOKEEPER_NODES_DIR · Default /thingsboard

Name of the directory in ZooKeeper ‘filesystem’

ZOOKEEPER_RECALCULATE_DELAY_MS · Default 0

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. The delay is recommended because the initialization of rule chain actors is time-consuming. Avoiding unnecessary recalculations during a restart can enhance system performance and stability.

INTEGRATIONS_STATISTICS_ENABLED · Default true

Enable/disable integrations statistics

INTEGRATIONS_STATISTICS_PERSIST_FREQUENCY · Default 3600000

Integration statistic persistence frequency in milliseconds

INTEGRATIONS_INIT_CONNECTION_TIMEOUT_SEC · Default 10

Maximum connection timeout allowed for integrations in seconds. Any greater user defined timeout will be reduced down to this limit.

INTEGRATIONS_INIT_CONNECTION_CHECK_API_REQUEST_TIMEOUT_SEC · Default 20

Connection check timeout for API request in seconds

INTEGRATIONS_REINIT_ENABLED · Default true

Enable/Disable integrations hot reinitialization

INTEGRATIONS_REINIT_FREQUENCY · Default 300000

Checking interval for reinit integrations

INTEGRATIONS_ALLOW_LOCAL_NETWORK_HOSTS · Default true

Enable/Disable integrations local network hosts

TB_QUEUE_TYPE · Default kafka

kafka (Apache Kafka)

TB_QUEUE_PREFIX

Global queue prefix. If specified, prefix is added before default topic name: ‘prefix.default_topic_name’. Prefix is applied to all topics (and consumer groups for kafka).

TB_KAFKA_SERVERS · Default localhost:9092

Kafka Bootstrap Servers

TB_KAFKA_SSL_ENABLED · Default false

Enable/Disable SSL Kafka communication

TB_KAFKA_SSL_TRUSTSTORE_LOCATION

The location of the trust store file

TB_KAFKA_SSL_TRUSTSTORE_PASSWORD

The password of trust store file if specified

TB_KAFKA_SSL_KEYSTORE_LOCATION

The location of the key store file. This is optional for the client and can be used for two-way authentication for the client

TB_KAFKA_SSL_KEYSTORE_PASSWORD

The store password for the key store file. This is optional for the client and only needed if ‘ssl.keystore.location’ is configured. Key store password is not supported for PEM format

TB_KAFKA_SSL_KEY_PASSWORD

The password of the private key in the key store file or the PEM key specified in ‘keystore.key’

TB_KAFKA_ACKS · Default all

The number of acknowledgments the producer requires the leader to have received before considering a request complete. This controls the durability of records that are sent. The following settings are allowed:0,1 and all

TB_KAFKA_RETRIES · Default 1

Number of retries. Resend any record whose send fails with a potentially transient error

TB_KAFKA_COMPRESSION_TYPE · Default none

none or gzip

TB_KAFKA_BATCH_SIZE · Default 16384

Default batch size. This setting gives the upper bound of the batch size to be sent

TB_KAFKA_LINGER_MS · Default 1

This variable creates a small amount of artificial delay—that is, rather than immediately sending out a record

TB_KAFKA_MAX_REQUEST_SIZE · Default 1048576

The maximum size of a request in bytes. This setting will limit the number of record batches the producer will send in a single request to avoid sending huge requests

TB_KAFKA_MAX_IN_FLIGHT_REQUESTS_PER_CONNECTION · Default 5

The maximum number of unacknowledged requests the client will send on a single connection before blocking

TB_BUFFER_MEMORY · Default 33554432

The total bytes of memory the producer can use to buffer records waiting to be sent to the server

TB_QUEUE_KAFKA_REPLICATION_FACTOR · Default 1

The multiple copies of data over the multiple brokers of Kafka

TB_QUEUE_KAFKA_MAX_POLL_INTERVAL_MS · Default 300000

The maximum delay between invocations of poll() when using consumer group management. This places an upper bound on the amount of time that the consumer can be idle before fetching more records

TB_QUEUE_KAFKA_MAX_POLL_RECORDS · Default 8192

The maximum number of records returned in a single call to poll()

TB_QUEUE_KAFKA_MAX_PARTITION_FETCH_BYTES · Default 16777216

The maximum amount of data per-partition the server will return. Records are fetched in batches by the consumer

TB_QUEUE_KAFKA_FETCH_MAX_BYTES · Default 134217728

The maximum amount of data the server will return. Records are fetched in batches by the consumer

TB_QUEUE_KAFKA_REQUEST_TIMEOUT_MS · Default 30000

(30 seconds)

TB_QUEUE_KAFKA_SESSION_TIMEOUT_MS · Default 10000

(10 seconds)

TB_QUEUE_KAFKA_USE_CONFLUENT_CLOUD · Default false

Enable/Disable using of Confluent Cloud

TB_QUEUE_KAFKA_CONFLUENT_SSL_ALGORITHM · Default https

The endpoint identification algorithm used by clients to validate server hostname. The default value is https

TB_QUEUE_KAFKA_CONFLUENT_SASL_MECHANISM · Default PLAIN

The mechanism used to authenticate Schema Registry requests. SASL/PLAIN should only be used with TLS/SSL as a transport layer to ensure that clear passwords are not transmitted on the wire without encryption

TB_QUEUE_KAFKA_CONFLUENT_SASL_JAAS_CONFIG · Default org.apache.kafka.common.security.plain.PlainLoginModule required username=“CLUSTER_API_KEY” password=“CLUSTER_API_SECRET”;

Using JAAS Configuration for specifying multiple SASL mechanisms on a broker

TB_QUEUE_KAFKA_CONFLUENT_SECURITY_PROTOCOL · Default SASL_SSL

Protocol used to communicate with brokers. Valid values are: PLAINTEXT, SSL, SASL_PLAINTEXT, SASL_SSL

TB_QUEUE_KAFKA_OTA_MAX_POLL_RECORDS · Default 10

Example of specific consumer properties value per topic

TB_QUEUE_KAFKA_CONSUMER_PROPERTIES_PER_TOPIC_INLINE

tb_rule_engine.sq: - key: max.poll.records value: ”${TB_QUEUE_KAFKA_SQ_MAX_POLL_RECORDS:1024}” If you override any default Kafka topic name using environment variables, you must also specify the related consumer properties for the new topic in consumer-properties-per-topic-inline. Otherwise, the topic will not inherit its expected configuration (e.g., max.poll.records, timeouts, etc). Format: “topic1:key1=value1,key2=value2;topic2:key=value” Example: “tb_core_modified.notifications:max.poll.records=10;tb_edge_modified:max.poll.records=10,enable.auto.commit=true”

TB_QUEUE_KAFKA_OTHER_PROPERTIES

In this section you can specify custom parameters (semicolon separated) for Kafka consumer/producer/admin

TB_QUEUE_KAFKA_RE_TOPIC_PROPERTIES · Default retention.ms:604800000;segment.bytes:52428800;retention.bytes:1048576000;partitions:1;min.insync.replicas:1

Kafka properties for Rule Engine

TB_QUEUE_KAFKA_CORE_TOPIC_PROPERTIES · Default retention.ms:604800000;segment.bytes:52428800;retention.bytes:1048576000;partitions:1;min.insync.replicas:1

Kafka properties for Core topics

TB_QUEUE_KAFKA_TA_TOPIC_PROPERTIES · Default retention.ms:604800000;segment.bytes:52428800;retention.bytes:1048576000;partitions:10;min.insync.replicas:1

Kafka properties for Transport Api topics

TB_QUEUE_KAFKA_NOTIFICATIONS_TOPIC_PROPERTIES · Default retention.ms:604800000;segment.bytes:52428800;retention.bytes:1048576000;partitions:1;min.insync.replicas:1

Kafka properties for Notifications topics

TB_QUEUE_KAFKA_JE_TOPIC_PROPERTIES · Default retention.ms:604800000;segment.bytes:52428800;retention.bytes:104857600;partitions:100;min.insync.replicas:1

Kafka properties for JS Executor topics

TB_QUEUE_KAFKA_INTEGRATION_TOPIC_PROPERTIES · Default retention.ms:604800000;segment.bytes:52428800;retention.bytes:1048576000;partitions:10;min.insync.replicas:1

Kafka properties for Integration Api topics

TB_QUEUE_KAFKA_HOUSEKEEPER_TOPIC_PROPERTIES · Default retention.ms:604800000;segment.bytes:52428800;retention.bytes:1048576000;partitions:10;min.insync.replicas:1

Kafka properties for Housekeeper tasks topic

TB_QUEUE_KAFKA_CONSUMER_STATS_ENABLED · Default true

Prints lag between consumer group offset and last messages offset in Kafka topics

TB_QUEUE_KAFKA_CONSUMER_STATS_MIN_PRINT_INTERVAL_MS · Default 60000

Statistics printing interval for Kafka’s consumer-groups stats

TB_QUEUE_KAFKA_CONSUMER_STATS_RESPONSE_TIMEOUT_MS · Default 1000

Time to wait for the stats-loading requests to Kafka to finis

TB_QUEUE_KAFKA_TOPICS_CACHE_TTL_MS · Default 300000

Topics cache TTL in milliseconds. 5 minutes by default

TB_QUEUE_PARTITIONS_HASH_FUNCTION_NAME · Default murmur3_128

murmur3_32, murmur3_128 or sha256

TB_QUEUE_TRANSPORT_API_REQUEST_TOPIC · Default tb_transport.api.requests

Topic used to consume api requests from transport microservices

TB_QUEUE_TRANSPORT_API_RESPONSE_TOPIC · Default tb_transport.api.responses

Topic used to produce api responses to transport microservices

TB_QUEUE_TRANSPORT_MAX_PENDING_REQUESTS · Default 10000

Maximum pending api requests from transport microservices to be handled by server

TB_QUEUE_TRANSPORT_MAX_REQUEST_TIMEOUT · Default 10000

Maximum timeout in milliseconds to handle api request from transport microservice by server

TB_QUEUE_TRANSPORT_MAX_CALLBACK_THREADS · Default 100

Amount of threads used to invoke callbacks

TB_QUEUE_TRANSPORT_REQUEST_POLL_INTERVAL_MS · Default 25

Interval in milliseconds to poll api requests from transport microservices

TB_QUEUE_TRANSPORT_RESPONSE_POLL_INTERVAL_MS · Default 25

Interval in milliseconds to poll api response from transport microservices

TB_QUEUE_CORE_TOPIC · Default tb_core

Default topic name

TB_QUEUE_CORE_NOTIFICATIONS_TOPIC · Default tb_core.notifications

For high-priority notifications that require minimum latency and processing time

TB_QUEUE_CORE_POLL_INTERVAL_MS · Default 25

Interval in milliseconds to poll messages by Core microservices

TB_QUEUE_CORE_PARTITIONS · Default 10

Amount of partitions used by Core microservices

TB_QUEUE_CORE_PACK_PROCESSING_TIMEOUT_MS · Default 2000

Timeout for processing a message pack by Core microservices

TB_QUEUE_CORE_OTA_TOPIC · Default tb_ota_package

Default topic name for OTA updates

TB_QUEUE_CORE_OTA_PACK_INTERVAL_MS · Default 60000

The interval of processing the OTA updates for devices. Used to avoid any harm to the network due to many parallel OTA updates

TB_QUEUE_CORE_OTA_PACK_SIZE · Default 100

The size of OTA updates notifications fetched from the queue. The queue stores pairs of firmware and device ids

TB_QUEUE_US_TOPIC · Default tb_usage_stats

Stats topic name

TB_QUEUE_CORE_STATS_ENABLED · Default true

Enable/disable statistics for Core microservices

TB_QUEUE_CORE_STATS_PRINT_INTERVAL_MS · Default 60000

Statistics printing interval for Core microservices

TB_HOUSEKEEPER_TOPIC · Default tb_housekeeper

Topic name for Housekeeper tasks

REMOTE_JS_EVAL_REQUEST_TOPIC · Default js_eval.requests

JS Eval request topic

REMOTE_JS_EVAL_RESPONSE_TOPIC · Default js_eval.responses

JS Eval responses topic prefix that is combined with node id

REMOTE_JS_MAX_PENDING_REQUESTS · Default 10000

JS Eval max pending requests

REMOTE_JS_MAX_EVAL_REQUEST_TIMEOUT · Default 60000

JS Eval max request timeout

REMOTE_JS_MAX_REQUEST_TIMEOUT · Default 10000

JS max request timeout

REMOTE_JS_RESPONSE_POLL_INTERVAL_MS · Default 25

JS response poll interval

TB_QUEUE_RULE_ENGINE_TOPIC · Default tb_rule_engine

Deprecated. It will be removed in the nearest releases

TB_QUEUE_RULE_ENGINE_NOTIFICATIONS_TOPIC · Default tb_rule_engine.notifications

For high-priority notifications that require minimum latency and processing time

TB_QUEUE_RULE_ENGINE_POLL_INTERVAL_MS · Default 25

Interval in milliseconds to poll messages by Rule Engine

TB_QUEUE_RULE_ENGINE_PACK_PROCESSING_TIMEOUT_MS · Default 2000

Timeout for processing a message pack of Rule Engine

TB_QUEUE_RULE_ENGINE_STATS_ENABLED · Default true

Enable/disable statistics for Rule Engine

TB_QUEUE_RULE_ENGINE_STATS_PRINT_INTERVAL_MS · Default 60000

Statistics printing interval for Rule Engine

TB_QUEUE_RE_SQ_QUEUE_NAME · Default SequentialByOriginator

queue name

TB_QUEUE_RE_SQ_TOPIC · Default tb_rule_engine.sq

queue topic

TB_QUEUE_RE_SQ_POLL_INTERVAL_MS · Default 25

poll interval

TB_QUEUE_RE_SQ_PARTITIONS · Default 10

number queue partitions

TB_QUEUE_RE_SQ_CONSUMER_PER_PARTITION · Default true

if true - use for each customer different partition

TB_QUEUE_RE_SQ_PACK_PROCESSING_TIMEOUT_MS · Default 2000

Timeout for processing a message pack

TB_QUEUE_RE_SQ_SUBMIT_STRATEGY_TYPE · Default SEQUENTIAL_BY_ORIGINATOR

BURST, BATCH, SEQUENTIAL_BY_ORIGINATOR, SEQUENTIAL_BY_TENANT, SEQUENTIAL

TB_QUEUE_RE_SQ_SUBMIT_STRATEGY_BATCH_SIZE · Default 100

Maximum number of messages in batch

TB_QUEUE_RE_SQ_PROCESSING_STRATEGY_TYPE · Default RETRY_FAILED_AND_TIMED_OUT

SKIP_ALL_FAILURES, SKIP_ALL_FAILURES_AND_TIMED_OUT, RETRY_ALL, RETRY_FAILED, RETRY_TIMED_OUT, RETRY_FAILED_AND_TIMED_OUT

TB_QUEUE_RE_SQ_PROCESSING_STRATEGY_RETRIES · Default 3

Number of retries, 0 is unlimited

TB_QUEUE_RE_SQ_PROCESSING_STRATEGY_FAILURE_PERCENTAGE · Default 0

Skip retry if failures or timeouts are less then X percentage of messages;

TB_QUEUE_RE_SQ_PROCESSING_STRATEGY_RETRY_PAUSE · Default 5

Time in seconds to wait in consumer thread before retries;

TB_QUEUE_RE_SQ_PROCESSING_STRATEGY_MAX_RETRY_PAUSE · Default 5

Max allowed time in seconds for pause between retries.

TB_QUEUE_INTEGRATION_PARTITIONS · Default 3

Name of hash function used for consistent hash ring in Cluster Mode. See architecture docs for more details. Valid values - murmur3_32, murmur3_128 or sha256

TB_QUEUE_INTEGRATION_NOTIFICATIONS_TOPIC · Default tb_integration_executor.notifications

For high-priority notifications that require minimum latency and processing time

TB_QUEUE_INTEGRATION_DOWNLINK_TOPIC · Default tb_ie.downlink

Default downlink topic name used by queue

TB_QUEUE_INTEGRATION_DOWNLINK_TOPICS

Downlink topic names for integration type (semicolor separated). Example: “MQTT:tb_ie.downlink.mqtt,HTTP:tb_ie.downlink.http” If not specified, the default topic will construct as before - ‘downlink_topic’ + IntegrationType.name()

TB_QUEUE_INTEGRATION_UPLINK_TOPIC · Default tb_ie.uplink

Default uplink topic name used by queue

TB_QUEUE_INTEGRATION_POLL_INTERVAL_MS · Default 25

Interval in milliseconds to poll messages by integrations

TB_QUEUE_INTEGRATION_PACK_PROCESSING_TIMEOUT_MS · Default 10000

Timeout for processing a message pack by integrations

TB_QUEUE_INTEGRATION_EXECUTOR_API_REQUEST_TOPIC · Default tb_ie.api.requests

Default Integration Api request topic name used by queue

TB_QUEUE_INTEGRATION_EXECUTOR_API_RESPONSE_TOPIC · Default tb_ie.api.responses

Default Integration Api response topic name used by queue

TB_QUEUE_INTEGRATION_EXECUTOR_MAX_PENDING_REQUESTS · Default 10000

Maximum pending api requests from integration executor to be handled by server<

TB_QUEUE_INTEGRATION_EXECUTOR_MAX_REQUEST_TIMEOUT · Default 10000

Maximum timeout in milliseconds to handle api request from integration executor microservice by server

TB_QUEUE_INTEGRATION_EXECUTOR_MAX_CALLBACK_THREADS · Default 10

Amount of threads used to invoke callbacks

TB_QUEUE_INTEGRATION_EXECUTOR_REQUEST_POLL_INTERVAL_MS · Default 25

Interval in milliseconds to poll api requests from integration executor microservices

TB_QUEUE_INTEGRATION_EXECUTOR_RESPONSE_POLL_INTERVAL_MS · Default 25

Interval in milliseconds to poll api response from integration executor microservices

TBEL_ENABLED · Default true

Enable/Disable TBEL feature.

TBEL_MAX_TOTAL_ARGS_SIZE · Default 100000

Limit the number of arguments that are passed to the function to execute the script

TBEL_MAX_RESULT_SIZE · Default 300000

Maximum allowed symbols in a result after processing a script

TBEL_MAX_SCRIPT_BODY_SIZE · Default 50000

Maximum allowed symbols in the script body

TBEL_MAX_MEMORY_LIMIT_MB · Default 8

Maximum allowed TBEL script execution memory

TBEL_MAX_ERRORS · Default 3

Maximum allowed TBEL script execution errors before it will be blacklisted

TBEL_MAX_REQUEST_TIMEOUT · Default 500

TBEL Eval max request timeout in milliseconds. 0 - no timeout

TBEL_MAX_BLACKLIST_DURATION_SEC · Default 60

Maximum time in seconds for black listed function to stay in the list.

TBEL_THREAD_POOL_SIZE · Default 50

Specify thread pool size for javascript executor service

TB_TBEL_STATS_ENABLED · Default false

Enable/Disable stats collection for TBEL engine

TB_TBEL_STATS_PRINT_INTERVAL_MS · Default 10000

Interval of logging for TBEL stats

JS_EVALUATOR · Default local

local/remote

LOCAL_JS_THREAD_POOL_SIZE · Default 50

Specify thread pool size for javascript executor service

USE_LOCAL_JS_SANDBOX · Default true

Use Sandboxed (secured) JVM JavaScript environment

LOCAL_JS_SANDBOX_MONITOR_THREAD_POOL_SIZE · Default 4

Specify thread pool size for JavaScript sandbox resource monitor

LOCAL_JS_SANDBOX_MAX_CPU_TIME · Default 8000

Maximum CPU time in milliseconds allowed for script execution

LOCAL_JS_SANDBOX_MAX_ERRORS · Default 3

Maximum allowed JavaScript execution errors before JavaScript will be blacklisted

LOCAL_JS_MAX_REQUEST_TIMEOUT · Default 0

JS Eval max request timeout. 0 - no timeout

LOCAL_JS_SANDBOX_MAX_BLACKLIST_DURATION_SEC · Default 60

Maximum time in seconds for black listed function to stay in the list.

TB_JS_LOCAL_STATS_ENABLED · Default false

Enable/Disable stats collection for local JS executor

TB_JS_LOCAL_STATS_PRINT_INTERVAL_MS · Default 10000

Interval of logging for local JS executor stats

REMOTE_JS_THREAD_POOL_SIZE · Default 50

Specify thread pool size for javascript executor service

REMOTE_JS_SANDBOX_MAX_ERRORS · Default 3

Maximum allowed JavaScript execution errors before JavaScript will be blacklisted

REMOTE_JS_SANDBOX_MAX_BLACKLIST_DURATION_SEC · Default 60

Maximum time in seconds for black listed function to stay in the list.

TB_JS_REMOTE_STATS_ENABLED · Default false

Enable/Disable stats collection for remote JS executor

TB_JS_REMOTE_STATS_PRINT_INTERVAL_MS · Default 10000

Interval of logging for remote JS executor stats

JSON_TYPE_CAST_ENABLED · Default true

Cast String data types to Numeric if possible when processing Telemetry/Attributes JSON

JSON_MAX_STRING_VALUE_LENGTH · Default 0

Maximum allowed string value length when processing Telemetry/Attributes JSON (0 value disables string value length check)

CACHE_TYPE · Default redis

caffeine or redis

CACHE_MAXIMUM_POOL_SIZE · Default 16

max pool size to process futures that calls the external cache

CACHE_SPECS_DEVICES_TTL · Default 1440

Device cache TTL

CACHE_SPECS_DEVICES_MAX_SIZE · Default 10000

0 means the cache is disabled

CACHE_SPECS_DOWNLINK_TTL · Default 1440

Downlink converter cache specs TTL

CACHE_SPECS_DOWNLINK_MAX_SIZE · Default 100000

0 means the cache is disabled

CACHE_SPECS_INTEGRATIONS_TTL · Default 1440

integrations cache specs TTL

CACHE_SPECS_INTEGRATIONS_MAX_SIZE · Default 10000

0 means the cache is disabled

CACHE_SPECS_RATE_LIMITS_TTL · Default 60

Rate limits cache TTL

CACHE_SPECS_RATE_LIMITS_MAX_SIZE · Default 100000

0 means the cache is disabled

REDIS_CONNECTION_TYPE · Default standalone

Redis deployment type: Standalone (single Redis node deployment) OR Cluster

REDIS_HOST · Default localhost

Redis connection host

REDIS_PORT · Default 6379

Redis connection port

REDIS_USE_DEFAULT_CLIENT_CONFIG · Default true

Use the default Redis configuration file

REDIS_CLIENT_NAME · Default standalone

This value may be used only if you used not default ClientConfig

REDIS_CLIENT_CONNECT_TIMEOUT · Default 30000

This value may be used only if you used not default ClientConfig

REDIS_CLIENT_READ_TIMEOUT · Default 60000

This value may be used only if you used not default ClientConfig

REDIS_CLIENT_USE_POOL_CONFIG · Default false

This value may be used only if you used not default ClientConfig

REDIS_NODES

Comma-separated list of “host:port” pairs to bootstrap from.

REDIS_MAX_REDIRECTS · Default 12

Maximum number of redirects to follow when executing commands across the cluster.

REDIS_USE_DEFAULT_POOL_CONFIG · Default true

if set false will be used pool config build from values of the pool config section

REDIS_MASTER

name of the master node

REDIS_SENTINELS

comma-separated list of “host:port” pairs of sentinels

REDIS_SENTINEL_PASSWORD

password to authenticate with sentinel

REDIS_USE_DEFAULT_POOL_CONFIG · Default true

if set false will be used pool config build from values of the pool config section

REDIS_DB · Default 0

db index

REDIS_PASSWORD

db password

REDIS_USERNAME

Redis username for ACL authentication (Redis 6.0+). Leave empty for legacy password-only auth

TB_REDIS_SSL_ENABLED · Default false

Enable/disable secure connection

TB_REDIS_SSL_PEM_CERT

Path redis server (CA) certificate

TB_REDIS_SSL_PEM_KEY

Path to user certificate file. This is optional for the client and can be used for two-way authentication for the client

TB_REDIS_SSL_PEM_KEY_PASSWORD

Path to user private key file. This is optional for the client and only needed if ‘user_cert_file’ is configured.

REDIS_POOL_CONFIG_MAX_TOTAL · Default 128

Maximum number of connections that can be allocated by the connection pool

REDIS_POOL_CONFIG_MAX_IDLE · Default 128

Maximum number of idle connections that can be maintained in the pool without being closed

REDIS_POOL_CONFIG_MIN_IDLE · Default 16

Minumum number of idle connections that can be maintained in the pool without being closed

REDIS_POOL_CONFIG_TEST_ON_BORROW · Default false

Enable/Disable PING command sent when a connection is borrowed

REDIS_POOL_CONFIG_TEST_ON_RETURN · Default false

The property is used to specify whether to test the connection before returning it to the connection pool.

REDIS_POOL_CONFIG_TEST_WHILE_IDLE · Default true

The property is used in the context of connection pooling in Redis

REDIS_POOL_CONFIG_MIN_EVICTABLE_MS · Default 60000

Minimum time that an idle connection should be idle before it can be evicted from the connection pool. The value is set in milliseconds

REDIS_POOL_CONFIG_EVICTION_RUNS_MS · Default 30000

Specifies the time interval in milliseconds between two consecutive eviction runs

REDIS_POOL_CONFIG_MAX_WAIT_MS · Default 60000

Maximum time in milliseconds where a client is willing to wait for a connection from the pool when all connections are exhausted

REDIS_POOL_CONFIG_NUMBER_TESTS_PER_EVICTION_RUN · Default 3

Specifies the number of connections to test for eviction during each eviction run

REDIS_POOL_CONFIG_BLOCK_WHEN_EXHAUSTED · Default true

Determines the behavior when a thread requests a connection from the pool, but there are no available connections, and the pool cannot create more due to the maxTotal configuration

COAP_ENABLED · Default true

Enable/disable coap server.

COAP_BIND_ADDRESS · Default 0.0.0.0

CoAP bind address

COAP_BIND_PORT · Default 5683

CoAP bind port

COAP_DTLS_ENABLED · Default false

Enable/disable DTLS 1.2 support

COAP_DTLS_RETRANSMISSION_TIMEOUT_IN_MILLISECONDS · Default 9000

RFC7925_RETRANSMISSION_TIMEOUT_IN_MILLISECONDS = 9000

COAP_DTLS_BIND_ADDRESS · Default 0.0.0.0

CoAP DTLS bind address

COAP_DTLS_BIND_PORT · Default 5684

CoAP DTLS bind port

COAP_DTLS_CONNECTION_ID_LENGTH

CoAP DTLS connection ID length. RFC 9146, Connection Identifier for DTLS 1.2

COAP_DTLS_MAX_TRANSMISSION_UNIT · Default 1024

Specify the MTU (Maximum Transmission Unit). Should be used if LAN MTU is not used, e.g. if IP tunnels are used or if the client uses a smaller value than the LAN MTU. Default = 1024 Minimum value = 64 If set to 0 - LAN MTU is used.

COAP_DTLS_MAX_FRAGMENT_LENGTH · Default 1024

DTLS maximum fragment length (RFC 6066, Section 4). Default = 1024 Possible values: 512, 1024, 2048, 4096. If set to 0, the default maximum fragment size of 2^14 bytes (16,384 bytes) is used. Without this extension, TLS specifies a fixed maximum plaintext fragment length of 2^14 bytes. It may be desirable for constrained clients to negotiate a smaller maximum fragment length due to memory limitations or bandwidth limitations. In order to negotiate smaller maximum fragment lengths, clients MAY include an extension of type “max_fragment_length” in the (extended) client hello. The “extension_data” field of this extension SHALL contain: enum { 2^9(1) == 512, 2^10(2) == 1024, 2^11(3) == 2048, 2^12(4) == 4096, (255) } MaxFragmentLength; TLS already requires clients and servers to support fragmentation of handshake messages.

COAP_DTLS_CREDENTIALS_TYPE · Default PEM

Server credentials type (PEM - pem certificate file; KEYSTORE - java keystore)

COAP_DTLS_PEM_CERT · Default coapserver.pem

Path to the server certificate file (holds server certificate or certificate chain, may include server private key)

COAP_DTLS_PEM_KEY · Default coapserver_key.pem

Path to the server certificate private key file. Optional by default. Required if the private key is not present in server certificate file;

COAP_DTLS_PEM_KEY_PASSWORD · Default server_key_password

Server certificate private key password (optional)

COAP_DTLS_KEY_STORE_TYPE · Default JKS

Type of the key store (JKS or PKCS12)

COAP_DTLS_KEY_STORE · Default coapserver.jks

Path to the key store that holds the SSL certificate

COAP_DTLS_KEY_STORE_PASSWORD · Default server_ks_password

Password used to access the key store

COAP_DTLS_KEY_ALIAS · Default serveralias

Key alias

COAP_DTLS_KEY_PASSWORD · Default server_key_password

Password used to access the key

TB_COAP_X509_DTLS_SKIP_VALIDITY_CHECK_FOR_CLIENT_CERT · Default false

Skip certificate validity check for client certificates.

TB_COAP_X509_DTLS_SESSION_INACTIVITY_TIMEOUT · Default 86400000

Inactivity timeout of DTLS session. Used to cleanup cache

TB_COAP_X509_DTLS_SESSION_REPORT_TIMEOUT · Default 1800000

Interval of periodic eviction of the timed-out DTLS sessions

DEBUG_MODE_RATE_LIMITS_PER_TENANT_ENABLED · Default true

If true rate limits will be active

INTEGRATION_DEBUG_MODE_RATE_LIMITS_PER_TENANT · Default 50000:3600

No more than 50000 messages per hour

CONVERTER_DEBUG_MODE_RATE_LIMITS_PER_TENANT · Default 50000:3600

No more than 50000 messages per hour

TB_SERVICE_TYPE · Default tb-integration-executor

service type

TB_SERVICE_ID

Unique id for this service (autogenerated if empty)

TB_SERVICE_INTEGRATIONS_SUPPORTED · Default ALL

Allow to enable integration on service/microservice integration executor. Allowed values: OCEANCONNECT, SIGFOX, THINGPARK, TPE, CHIRPSTACK, TUYA, UDP, TCP, TTN, TTI, AZURE_EVENT_HUB, OPC_UA, IBM_WATSON_IOT, AWS_IOT, AWS_SQS, LORIOT, COAP, AZURE_SERVICE_BUS, HTTP, MQTT or ALL to allow all

TB_SERVICE_INTEGRATIONS_EXCLUDED · Default NONE

List of integrations to exclude from processing on service/microservice integration executor. Allowed values: OCEANCONNECT, SIGFOX, THINGPARK, TPE, CHIRPSTACK, TUYA, UDP, TCP, TTN, TTI, AZURE_EVENT_HUB, OPC_UA, IBM_WATSON_IOT, AWS_IOT, AWS_SQS, LORIOT, COAP, AZURE_SERVICE_BUS, HTTP, MQTT. By default NONE

USAGE_STATS_REPORT_ENABLED · Default true

Enable/Disable the collection of statistics about API usage. Collected on a system and tenant level by default

USAGE_STATS_REPORT_PER_CUSTOMER_ENABLED · Default false

Enable/Disable collection of statistics about API usage on a customer level

USAGE_STATS_REPORT_INTERVAL · Default 60

Interval of reporting the statistics. By default, the summarized statistics are sent every 10 seconds

USAGE_STATS_REPORT_URGENT_INTERVAL · Default 10

Reporting interval for urgent keys (e.g. SMS, Email) that require quicker usage state updates

USAGE_STATS_REPORT_PACK_SIZE · Default 1024

Amount of statistic messages in pack

METRICS_ENABLED · Default false

Enable/disable actuator metrics.

METRICS_TIMER_PERCENTILES · Default 0.5

Metrics percentiles returned by actuator for timer metrics. List of double values (divided by ,).

METRICS_ENDPOINTS_EXPOSE · Default info

Expose metrics endpoint (use value ‘prometheus’ to enable prometheus metrics).

TB_NOTIFICATION_RULES_DEDUPLICATION_DURATIONS · Default RATE_LIMITS:14400000;

Semicolon-separated deduplication durations (in millis) for trigger types. Format: ‘NotificationRuleTriggerType1:123;NotificationRuleTriggerType2:456’

TB_MQTT_CLIENT_RETRANSMISSION_MAX_ATTEMPTS · Default 3

Maximum number of retransmission attempts allowed. If the attempt count exceeds this value, retransmissions will stop and the pending message will be dropped.

TB_MQTT_CLIENT_RETRANSMISSION_INITIAL_DELAY_MILLIS · Default 5000

Base delay (in milliseconds) before the first retransmission attempt, measured from the moment the message is sent. Subsequent delays are calculated using exponential backoff. This base delay is also used as the reference value for applying jitter.

TB_MQTT_CLIENT_RETRANSMISSION_JITTER_FACTOR · Default 0.15

Jitter factor applied to the calculated retransmission delay. The actual delay is randomized within a range defined by multiplying the base delay by a factor between (1 - jitter_factor) and (1 + jitter_factor). For example, a jitter_factor of 0.15 means the actual delay may vary by up to ±15% of the base delay.