Relays Frigate events from MQTT to Kafka.
- MQTT
- Frigate
In order to process events more efficiently by other tools (like Frigate clips), a broker should be created to forward data to a one-to-many queue like Kafka. This enables the ability to spread a task across multiple consumers. In the case of Frigate clips, we can have multiple instances of the Clips app running to consume Frigate events in parallel. Mosquitto MQTT does not allow this one-to-many partitioning so tasks must complete in sequence.
Use the docker-compose.yml
file along with the docker compose up -d
command to create a relay for forwarding Frigate events from MQTT to Kafka.
Before using docker compose up -d
, make sure a secret.yml
file is in located in the root of the project folder. An example file secret.example.yml
is created for you as a template. Rename the file to secret.yml
and edit it's contents to suit your environment.