- Docker Engine
- JDK 11
docker-compose up -d
When Successfully start, call below and then you can see index page.
http://localhost:8082/java-kafka-docker/
After checking, access resource like below.
http://localhost:8082/java-kafka-docker/resouces/kafka?param1=TEST
you can see the parameter you request on your console like them.
- producer's side write
TEST : This is the record sending by producer client according to parameter you add to url.
- consumer's side write
TEST : this is the record from producer client.
- kafka listener
- advertised listener
- HOST IP Protocol
- can see yml for kafka stack
- zookeeper, broker, schema-registry
How to start Kafka using Docker
How to implements kafka producer with Java
Official Kafka Document