A while ago we’d created docker-compose.yml for Kafka and Zookeper. Today I’ve noticed the problem with the old configuration – it looks like it does not work properly with Test Containers. So, I have replaced the old configuration with Confluent’s Kafka and Zookeeper:…
Tag: <span>kafka</span>
Let’s say we have a REST endpoint and we want to send a message via Spring’s Cloud Stream Kafka. Easy? Yes, if we’re using a legacy annotation model – yes. But what if we want to send a Kafka message, when someone calls…
I use Kafka in my Docker Compose file. My docker-compose.yaml looks like this: Unfortunately, when I start and restart Kafka’s instance in Docker Compose I was constantly getting random errors. After some googling, I found that KAFKA_ADVERTISED_HOST_NAME is deprecated – please see https://github.com/wurstmeister/kafka-docker/wiki/Connectivity…
If you want to run Docker Compose with Kafka and Zookeeper, you could use the following code: