AI Features

Example: Technical Structure & Live App

In this lesson, we'll look at a real live example of Kafka.

Technical structure

The drawing above shows how the example is structured technically.

Apache httpd

The Apache httpd distributes incoming HTTP requests. Thus, there can be multiple instances of each microservice. This is useful for showing the distribution of records to multiple consumers.

In addition, only the Apache httpd server is accessible from the outside. The other microservices can be contacted only from inside the Docker network.

Zookeeper

Zookeeper serves to coordinate the Kafka instances and stores, information about the distribution of topics and partitions. The example uses the image at https://hub.docker.com/r/wurstmeister/zookeeper/.

Kafka instance

...