Introduction
VIDIZMO offers multiple broker service options to manage real-time data feeds and enable smooth communication between microservices. Kafka is one of the broker services used in VIDIZMO. Apache Kafka, commonly known as a message broker service, is a distributed event streaming platform specially designed for handling real-time data feeds.
Prerequisites
- Follow the official Apache Kafka documentation to complete the installation and setup of Kafka on the server where VIDIZMO is deployed.
- This is specific to on-premises VIDIZMO deployments and requires Administrator privileges.
Configuring Kafka in VIDIZMO
Launch Kafka using Docker
To facilitate seamless management and version control of Apache Kafka, we recommend deploying Kafka using Docker. Utilizing Docker offers the advantage of effortlessly switching between Kafka versions by updating the underlying docker-compose file.
- Install Docker and ensure Docker Desktop is installed on your system by referring to the official Docker documentation.
- Download the Kafka Docker-Compose File by Obtaining the Kafka docker-compose file from the official GitHub repository.
- Navigate to the Downloaded Folder to the location where the docker-compose file is downloaded.
- Execute the command `docker-compose -f zk-single-kafka-single.yml up -d` in the command prompt to initiate Kafka containers.
Configuration in VIDIZMO
- Login to the VIDIZMO application with Administrator privileges. Navigate to the Navigation Menu.
- Click on the Control Panel.
3. Select the Application Configuration.
4. Click on the VIDIZMO Runtime Configuration.
5. Click 'Edit' to change/update the existing configuration.
6. Under Event System, select Kafka from the drop-down menu.
- BootStrap Servers: In the designated field, input the bootstrap server's information using the format "localhost: KafkaPortNumber."
- Specify the Zookeeper Port by entering the port number, which can be obtained from Docker Desktop. Refer to the Zookeeper container in Docker Desktop, where the port number is listed in the port column. This ensures proper communication with the Zookeeper service. To get info about the requisite port for Kafka, refer to the prerequisites for the VIDIZMO Application.