Message Broker#
Message broker services are integrated to exchange data and control messages between services.
Broker options#
Kafka
Used by RTVI and Behavior Analytics services to send and receive data.
Redis
Developer and Smart City blueprint profiles: Redis is used as a message broker (Redis Streams) for control messages. For example, sending RTSP stream details to VST for dynamic addition.
Warehouse blueprint: Instead of Kafka, Redis can be used as the message broker to send and receive data between microservices. Redis also helps transmit control messages.
How to choose between Kafka and Redis in warehouse blueprint#
The Warehouse blueprint supports both Kafka and Redis as message brokers. You can choose which one to use based on your deployment requirements.
If you need a high-throughput message broker with robust persistence and scalability, use Kafka.
If you need a lightweight message broker with minimal memory footprint and low latency, use Redis.
The following sections document Kafka and Redis in detail.