High Availability
Running ilagent in high availability setups across HTTP, MQTT, and Kafka consumer modes.
Kafka
# Instance 1
ilagent daemon --kafka_brokers kafka:9092 --kafka_group_id ilagent -e 'events'
# Instance 2
ilagent daemon --kafka_brokers kafka:9092 --kafka_group_id ilagent -e 'events'HTTP proxy
clients ── load balancer ── ilagent-1 (own SQLite)
└── ilagent-2 (own SQLite)MQTT
Option 1: Shared subscriptions (recommended)
Option 2: Active-passive failover
Option 3: Active-active with idempotency
Option 4: Topic partitioning
Recommendations
Setup
Strategy
Broker requirement
Last updated
Was this helpful?