Skip to content

Consumer clients try to connect to localhost Kafka #4

Description

@dbeckers99

I build the project in IntelliJ (although all maven support is missing in the example) and changed the application.yml to set the parameter "bootstrap-servers" to my docker host IP with the running Kafka container.

Now I start the application (with ./mvnw spring-boot:run) and get a lot of error messages "[| adminclient-1] org.apache.kafka.clients.NetworkClient : [AdminClient clientId=adminclient-1] Connection to node 1001 (/127.0.0.1:9092) could not be established. Broker may not be available."
until the process gives up for all 3 consumer clients.

How to fix this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions