Talk on: How do we use Apache Kafka at Swisscom and what is it for? https://www.youtube.com/watch?v=leAMaissdVo
It contains the presentation and code which I used during Swisscom DevOps week for the talk about Kafka. The simple examples of setting up Kafka altogether with Spring Boot and Kafka Streams.
Run Kafka locally by typing: docker-compose -f kafka.yml up
- Get container ID by: docker ps
- Access image by: docker exec -it <container_id> bash
- Access Kafka
- kafka-topics --create --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1 --topic <topic_name>
- Access Kafka
kafka-console-producer --broker-list localhost:9092 --topic test --property "parse.key=true" --property "key.separator=:"
kafka-console-consumer --bootstrap-server localhost:9092 --topic test --from-beginning
kafka-topics --list --bootstrap-server localhost:9092