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…
Tag: <span>kafka</span>
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: