Skip to content
Stand with Ukraine flag

Integration Executor configuration

HTTP_BIND_ADDRESS · Default 0.0.0.0

HTTP Server bind address.

HTTP_BIND_PORT · Default 8082

HTTP Server bind port.

TB_IE_DOWNLINK_POLL_INTERVAL · Default 1000

Poll interval for messages from ‘tbmq.ie.downlink’ topics (in ms).

TB_IE_MSG_POLL_INTERVAL · Default 1000

Poll interval for messages from ‘tbmq.msg.ie’ topics (in ms).

TB_IE_MSG_PACK_PROCESSING_TIMEOUT · Default 30000

Timeout for processing a pack of messages (in ms).

TB_IE_MSG_ACK_STRATEGY_TYPE · Default SKIP_ALL

Processing strategy for ‘tbmq.msg.ie’ topics. Accepted values: SKIP_ALL, RETRY_ALL.

TB_IE_MSG_ACK_STRATEGY_RETRIES · Default 5

Number of retries. Use 0 for unlimited. Applies to the RETRY_ALL strategy.

TB_IE_MSG_ACK_STRATEGY_PAUSE_BETWEEN_RETRIES · Default 1

Time to wait in the consumer thread before retrying (in s).

TB_KAFKA_SERVERS · Default localhost:9092

List of Kafka bootstrap servers used to establish connection.

TB_KAFKA_ENABLE_TOPIC_DELETION · Default true

Enables or disables deletion of Kafka topics created for Integrations. When true, TBMQ may automatically remove topics during cleanup (e.g., when an Integration is deleted). When false, TBMQ skips topic deletion and simply stops using them, preventing accidental data loss in production environments.

TB_KAFKA_DEFAULT_PRODUCER_CONSUMER_CONFIG

Base Kafka properties applied to admins, all producers and consumers, making it the ideal place for shared connection and security settings. Format is key:value;key:value. If a property value contains a semicolon (common in sasl.jaas.config), escape it with a backslash (e.g., …username=“user”;password=“pass”;).

TB_KAFKA_DEFAULT_CONSUMER_CONFIG

Additional Kafka properties specific only to consumers, merged with the global defaults — TB_KAFKA_DEFAULT_PRODUCER_CONSUMER_CONFIG (overriding them if keys conflict). Follows the standard key:value;key:value format. Ensure any internal semicolons in values are escaped as ;.

TB_KAFKA_DEFAULT_CONSUMER_PARTITION_ASSIGNMENT_STRATEGY · Default org.apache.kafka.clients.consumer.StickyAssignor

List of partition assignment strategy class names or types, ordered by preference, used to distribute partition ownership amongst consumer instances when group management is used.

TB_KAFKA_DEFAULT_CONSUMER_SESSION_TIMEOUT_MS · Default 10000

Timeout for detecting client failures when using Kafka’s group management facility (in ms).

TB_KAFKA_DEFAULT_CONSUMER_MAX_POLL_INTERVAL_MS · Default 300000

Maximum delay between invocations of poll() when using consumer group management (in ms).

TB_KAFKA_DEFAULT_CONSUMER_MAX_POLL_RECORDS · Default 2000

Maximum number of records returned in a single call to poll().

TB_KAFKA_DEFAULT_CONSUMER_MAX_PARTITION_FETCH_BYTES · Default 16777216

Maximum amount of data per partition the server will return (in bytes).

TB_KAFKA_DEFAULT_CONSUMER_FETCH_MAX_BYTES · Default 134217728

Maximum amount of data the server should return for a fetch request (in bytes).

TB_KAFKA_DEFAULT_CONSUMER_HEARTBEAT_INTERVAL_MS · Default 3000

Expected time between heartbeats to the consumer coordinator when using Kafka’s group management facilities. Heartbeats ensure the consumer’s session stays active and facilitate rebalancing when consumers join or leave. Must be set lower than TB_KAFKA_DEFAULT_CONSUMER_SESSION_TIMEOUT_MS, but typically no higher than 1/3 of that value. Can be adjusted lower to control the expected time for normal rebalances (in ms). Defaults to 3 s.

TB_KAFKA_DEFAULT_PRODUCER_CONFIG

Additional Kafka properties specific only to producers, merged with the global defaults — TB_KAFKA_DEFAULT_PRODUCER_CONSUMER_CONFIG (overriding them if keys conflict). Follows the standard key:value;key:value format. Ensure any internal semicolons in values are escaped as ;.

TB_KAFKA_DEFAULT_PRODUCER_ACKS · Default 1

Number of acknowledgments the producer requires the leader to have received before considering a request complete.

TB_KAFKA_DEFAULT_PRODUCER_RETRIES · Default 1

Number of retries for records whose send fails with a potentially transient error.

TB_KAFKA_DEFAULT_PRODUCER_BATCH_SIZE · Default 16384

Batch size for grouping records sent to the same partition (in bytes).

TB_KAFKA_DEFAULT_PRODUCER_LINGER_MS · Default 5

Delay for grouping records arriving between request transmissions into a batched request (in ms).

TB_KAFKA_DEFAULT_PRODUCER_BUFFER_MEMORY · Default 33554432

Total memory the producer can use to buffer records waiting to be sent to the server (in bytes).

TB_KAFKA_DEFAULT_COMPRESSION_TYPE · Default none

Compression type for all data generated by the producer. Accepted values: none, gzip, snappy, lz4, zstd.

TB_KAFKA_ADMIN_CONFIG · Default retries:1

Additional configs separated by semicolon for the admin Kafka client, merged with the global defaults — TB_KAFKA_DEFAULT_PRODUCER_CONSUMER_CONFIG (overriding them if keys conflict).

TB_KAFKA_ADMIN_COMMAND_TIMEOUT_SEC · Default 30

Kafka Admin client command timeout (in s). Applies to operations like describeCluster, listTopics, etc.

TB_KAFKA_ADMIN_TOPICS_CACHE_TTL_MS · Default 300000

Kafka topics cache TTL (in ms). Defines how long the list of topics is kept in memory before reloading from Kafka. Defaults to 5 minutes.

TB_KAFKA_CONSUMER_STATS_ENABLED · Default true

Enables or disables printing of consumer group lag between consumer offsets and the latest Kafka topic offsets.

TB_KAFKA_CONSUMER_STATS_PRINT_INTERVAL_MS · Default 60000

Print interval for Kafka consumer group statistics (in ms).

TB_KAFKA_CONSUMER_STATS_RESPONSE_TIMEOUT_MS · Default 1000

Time to wait for stats-loading requests to Kafka to finish (in ms).

TB_KAFKA_CONSUMER_STATS_CONSUMER_CONFIG

Additional configs separated by semicolon for the Kafka stats consumer, merged with the consumer defaults — TB_KAFKA_DEFAULT_CONSUMER_CONFIG (overriding them if keys conflict).

TB_KAFKA_IE_DOWNLINK_TOPIC_PREFIX · Default tbmq.ie.downlink

Prefix for topics used to send integration configurations and validation requests from TBMQ to integration executors.

TB_KAFKA_IE_DOWNLINK_HTTP_TOPIC_PROPERTIES · Default retention.ms:604800000;segment.bytes:26214400;retention.bytes:1048576000;partitions:6;replication.factor:1

Kafka topic properties separated by semicolon for the tbmq.ie.downlink.http topic.

TB_KAFKA_IE_DOWNLINK_HTTP_ADDITIONAL_CONSUMER_CONFIG

Additional Kafka consumer configs separated by semicolon for the tbmq.ie.downlink.http topic.

TB_KAFKA_IE_DOWNLINK_HTTP_ADDITIONAL_PRODUCER_CONFIG

Additional Kafka producer configs separated by semicolon for the tbmq.ie.downlink.http topic.

TB_KAFKA_IE_DOWNLINK_KAFKA_TOPIC_PROPERTIES · Default retention.ms:604800000;segment.bytes:26214400;retention.bytes:1048576000;partitions:6;replication.factor:1

Kafka topic properties separated by semicolon for the tbmq.ie.downlink.kafka topic.

TB_KAFKA_IE_DOWNLINK_KAFKA_ADDITIONAL_CONSUMER_CONFIG

Additional Kafka consumer configs separated by semicolon for the tbmq.ie.downlink.kafka topic.

TB_KAFKA_IE_DOWNLINK_KAFKA_ADDITIONAL_PRODUCER_CONFIG

Additional Kafka producer configs separated by semicolon for the tbmq.ie.downlink.kafka topic.

TB_KAFKA_IE_DOWNLINK_MQTT_TOPIC_PROPERTIES · Default retention.ms:604800000;segment.bytes:26214400;retention.bytes:1048576000;partitions:6;replication.factor:1

Kafka topic properties separated by semicolon for the tbmq.ie.downlink.mqtt topic.

TB_KAFKA_IE_DOWNLINK_MQTT_ADDITIONAL_CONSUMER_CONFIG

Additional Kafka consumer configs separated by semicolon for the tbmq.ie.downlink.mqtt topic.

TB_KAFKA_IE_DOWNLINK_MQTT_ADDITIONAL_PRODUCER_CONFIG

Additional Kafka producer configs separated by semicolon for the tbmq.ie.downlink.mqtt topic.

TB_KAFKA_IE_UPLINK_TOPIC · Default tbmq.ie.uplink

Topic for sending messages and events from integration executors to TBMQ.

TB_KAFKA_IE_UPLINK_TOPIC_PROPERTIES · Default retention.ms:604800000;segment.bytes:26214400;retention.bytes:1048576000;partitions:6;replication.factor:1

Kafka topic properties separated by semicolon for the tbmq.ie.uplink topic.

TB_KAFKA_IE_UPLINK_ADDITIONAL_CONSUMER_CONFIG

Additional Kafka consumer configs separated by semicolon for the tbmq.ie.uplink topic.

TB_KAFKA_IE_UPLINK_ADDITIONAL_PRODUCER_CONFIG

Additional Kafka producer configs separated by semicolon for the tbmq.ie.uplink topic.

TB_KAFKA_IE_UPLINK_NOTIF_TOPIC_PREFIX · Default tbmq.ie.uplink.notifications

Prefix for topics used to send notifications or replies from integration executors to specific TBMQ nodes.

TB_KAFKA_IE_UPLINK_NOTIF_TOPIC_PROPERTIES · Default retention.ms:604800000;segment.bytes:26214400;retention.bytes:1048576000;partitions:1;replication.factor:1

Kafka topic properties separated by semicolon for the tbmq.ie.uplink.notifications topics.

TB_KAFKA_IE_UPLINK_NOTIF_ADDITIONAL_CONSUMER_CONFIG

Additional Kafka consumer configs separated by semicolon for the tbmq.ie.uplink.notifications topic.

TB_KAFKA_IE_UPLINK_NOTIF_ADDITIONAL_PRODUCER_CONFIG

Additional Kafka producer configs separated by semicolon for the tbmq.ie.uplink.notifications topic.

TB_KAFKA_IE_MSG_TOPIC_PROPERTIES · Default retention.ms:604800000;segment.bytes:26214400;retention.bytes:1048576000;replication.factor:1

Kafka topic properties separated by semicolon for the tbmq.msg.ie topics.

TB_KAFKA_IE_MSG_ADDITIONAL_CONSUMER_CONFIG · Default max.poll.records:50

Additional Kafka consumer configs separated by semicolon for the tbmq.msg.ie topics.

TB_KAFKA_IE_MSG_ADDITIONAL_PRODUCER_CONFIG

Additional Kafka producer configs separated by semicolon for the tbmq.msg.ie topics.

TB_KAFKA_PREFIX

Common prefix for all Kafka topics, producers, consumer groups, and consumers. Defaults to empty string, meaning no prefix is applied.

TB_SERVICE_TYPE · Default tbmq-integration-executor

Microservice type. Accepted values: tbmq-integration-executor.

TB_SERVICE_ID

Unique ID for this service. Autogenerated if empty.

TB_SERVICE_INTEGRATIONS_SUPPORTED · Default ALL

Enables or disables specific integration types on this executor. Accepted values: HTTP, KAFKA, MQTT. Defaults to ALL.

TB_SERVICE_INTEGRATIONS_EXCLUDED · Default NONE

List of integration types to exclude from processing on this executor. Accepted values: HTTP, KAFKA, MQTT. Defaults to NONE.

INTEGRATIONS_STATISTICS_ENABLED · Default true

Enables or disables integration statistics.

INTEGRATIONS_STATISTICS_PERSIST_FREQUENCY · Default 3600000

Persistence frequency for integration statistics (in ms).

INTEGRATIONS_INIT_CONNECTION_TIMEOUT_SEC · Default 15

Maximum connection timeout allowed for integrations (in s). Any greater user-defined timeout will be reduced to this limit.

INTEGRATIONS_INIT_CONNECTION_CHECK_API_REQUEST_TIMEOUT_SEC · Default 20

Timeout for API connection check requests (in s).

INTEGRATIONS_REINIT_ENABLED · Default true

Enables or disables hot reinitialization of integrations in ‘FAILED’ state.

INTEGRATIONS_REINIT_FREQUENCY_MS · Default 300000

Reinitialization check interval for failed integrations (in ms). Defaults to 5 minutes.

INTEGRATIONS_DESTROY_TIMEOUT_MS · Default 1000

Duration to wait during each graceful shutdown iteration for integrations to terminate properly (in ms). Defaults to 1 s.

INTEGRATIONS_DESTROY_COUNT · Default 10

Number of graceful shutdown iterations before forcefully stopping the process.

INTEGRATIONS_DESTROY_FORCED_SHUTDOWN_TIMEOUT_MS · Default 15000

Maximum duration to wait before forcefully stopping the application if graceful shutdown has not started or exceeded the allowed time (in ms).

INTEGRATIONS_ALLOW_LOCAL_NETWORK_HOSTS · Default true

Enables or disables access to local network hosts from integrations.

INTEGRATIONS_UPLINK_THREADS · Default 4

Number of threads in the pool to process callbacks of uplink events to TBMQ nodes.

INTEGRATIONS_MANAGE_LIFECYCLE_THREADS · Default 4

Number of threads in the pool to process lifecycle events (CREATE/UPDATE/DELETE) of integrations.

INTEGRATIONS_MANAGE_COMMAND_THREADS · Default 4

Number of threads in the pool to process integration validation requests.

INTEGRATIONS_EXTERNAL_THREADS · Default 10

Number of threads in the pool dedicated to handling external operations, such as producing messages to Kafka topics.

INTEGRATIONS_NETTY_SHARED_GROUP_THREADS · Default 0

Number of threads in the Netty shared worker group. Defaults to 0, which sets the count to availableProcessors * 2. Used to send messages to external MQTT brokers using MQTT bridge (integration).

HEALTH_DISKSPACE_ENABLED · Default false

Enables or disables disk space health check.

HEALTH_SHOW_DETAILS · Default never

Controls whether the health endpoint shows full component details (e.g., Redis, DB, TBMQ). Accepted values: never: always hide details (default if security is enabled). when-authorized: show details only to authenticated users. always: always include full health details in the response.

METRICS_ENDPOINTS_EXPOSE · Default health,info,prometheus

Actuator endpoints exposed via HTTP. Use ‘health,info’ to expose only basic health and information endpoints. To expose Prometheus metrics, include ‘prometheus’ in the list (e.g., ‘health,info,prometheus’).

STATS_IE_ENABLED · Default true

Enables or disables stats printing to the logs.

STATS_IE_PRINT_INTERVAL_MS · Default 60000

Print interval for integration executor statistics (in ms). Defaults to 1 minute.

STATS_TIMER_PERCENTILES · Default 0.5

Metrics percentiles returned by actuator for timer metrics. List of comma-separated double values.

STATS_SYSTEM_INFO_PERSIST_FREQUENCY_SEC · Default 60

Persistence frequency of system info such as CPU and memory usage (in s).

EVENT_ERROR_RATE_LIMITS_ENABLED · Default true

Enables or disables event error rate limiting.

EVENT_ERROR_RATE_LIMITS_INTEGRATION · Default 5000:3600,100:60

No more than 5000 messages per hour or 100 messages per minute for all integrations.

EVENT_ERROR_RATE_LIMITS_TTL · Default 60

Time to suppress duplicate persistence of rate limit events after the error rate limit is reached (in minutes).