java.nio.channels.UnresolvedAddressException when trying to create a topic in Amazon MSK

0

I created and deleted topics on my Amazon MSK for weeks. But today when I use the same zookeeper connection string I get the error: java.nio.channels.UnresolvedAddressException

The only difference is I upgraded the java version on my linux instance to Java 17. Can that cause this issue? Nothing else has changed

feita há 2 anos1035 visualizações
1 Resposta
0

Hi there, even though full support of Java 17 is included in later versions of Kafka https://issues.apache.org/jira/browse/KAFKA-13273, I did not see any issues with some simple data plane commands like creating or deleting topics from Apache Kafka 2.7.0 client. It could also be a transient network issue while connecting to zookeeper. Instead of zookeeper string, can you try using --bootstrap-server <broker string> and see if that works.

./kafka-topics.sh --bootstrap-server <broker endpoints> --list

AWS
ENGENHEIRO DE SUPORTE
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas