All Questions
14 questions
-1
votes
1
answer
138
views
How to create a docker composer environment where containers can communicate each other?
My intention is to have:
A kafka producer and exposes an API to send messages, running in a container
A kafka consumer running in another container
zookeeper running in another container
kafka server ...
1
vote
0
answers
135
views
Spring Boot With Kafka on Docker
I am trying to create an spring boot producer application and I am trying to run it on docker. I have created a docker compose yaml with a simple postgres database and a kafka image. When I am ...
0
votes
0
answers
20
views
SpringBoot app not communicating with kafka broker when both are hosted on docker [duplicate]
I have a springboot application which is using kafka consumer and producer. I hosted my application image on docker.Kafka server runs fine on docker but my application is not communicating with that ...
-1
votes
1
answer
2k
views
Spring Boot app cannot connect to a Kafka broker
I am trying to build a Spring Boot application using Kafka, but I have some problems with running it. I am using Docker compose for Kafka from confluentinc and kafka is 3.4 with KRaft, instead of ...
1
vote
0
answers
23
views
Kafka unable to send/receive the message [duplicate]
I'm trying to send a message with Kafka but everytime I send I get this message in the console:
My docker compose is:
version: '3'
services:
zookeeper:
image: wurstmeister/zookeeper
...
0
votes
0
answers
3k
views
Problem with Kafka authentication using SCRAM
I wanted to create a docker-compose for zookeeper/kafka for integration test purposes.
zookeeper:
image: repository/zookeeper:3.8
ports:
- 2181:2181
environment:
- ...
0
votes
2
answers
2k
views
I want to communicate my client and kafka broker with docker compose
There are client, kafka and zookeeper in the same network, I am trying to connect from client to kafka with SERVICE_NAME:PORT but
driver-service-container | 2022-07-24 09:00:05.076 WARN 1 --- [| ...
0
votes
1
answer
5k
views
KafkaListener can not receive message after Spring boot application restart
I have an Springboot with Kafka application, and my Kafka cluster start with docker compose file. However, if Kafka cluster keep start, but Spring boot application restart, it can not receive any ...
0
votes
0
answers
26
views
cannot setup kafka with docker compose on port other than 9092 [duplicate]
here is my docker-compose file for Kafka. It is essential to run this on port other than 9092 so that I can have other Kafka instance in docker mapped to 9092. So I decided to go with 9093.
version: &...
0
votes
0
answers
22
views
Cannot connect docker image to kafka container [duplicate]
I am trying to connect my Kafka container and my docker image all running locally
and don't want to create a container with Kafka and zookeeper images.
When I am running the app without dockerizing it,...
3
votes
1
answer
2k
views
Running Spring Boot application with Kafka in Docker-compose
I have application (kafka client). I have next properties:
spring.kafka.bootstrap-servers=127.0.0.1:29092
spring.kafka.consumer.group-id=mc3
And i have kafka in Docker-compose:
kafka:
image: ...
4
votes
1
answer
5k
views
Access Kafka in Remote Host by IP Address running with Docker-Compose and Spring Boot
I have this docker-compose.yml in which I run Zookeeper, Kafka, Kafka Connect, and KafDrop, the thing is, when I run locally I can connect from my Spring Boot application to consume some topic ...
2
votes
1
answer
2k
views
Spring boot container cannot find kafka broker in another container
I have a simple springboot app running in docker container with following configuration.
@Configuration
public class ProducerConfiguration {
private static final String KAFKA_BROKER = "kafka:...
12
votes
6
answers
21k
views
Spring Kafka Producer not sending to Kafka 1.0.0 (Magic v1 does not support record headers)
I am using this docker-compose setup for setting up Kafka locally: https://github.com/wurstmeister/kafka-docker/
docker-compose up works fine, creating topics via shell works fine.
Now I try to ...