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

preguntada hace 2 años1034 visualizaciones
1 Respuesta
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
INGENIERO DE SOPORTE
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas