Skip to content

Unknown host exception #12

@rodolfoap

Description

@rodolfoap

Hi, I get this, usually on my third pod,

[2021-01-26 15:45:54,011] WARN [Controller id=3, targetBrokerId=2] Error connecting to node kafka-1.kafka.default.svc.cluster.local:9092 (id: 2 rack: null) (org.apache.kafka.clients.NetworkClient)
java.net.UnknownHostException: kafka-1.kafka.default.svc.cluster.local

Although the pod service seems online. When I enter a bash shell on the pod, such DNS name resolves fine. But the logs show java.net.UnknownHostException.

Restarting the pod usually solves the issue.

Am I missing something?

Thanks in advance, good work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions