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

demandé il y a 2 ans1034 vues
1 réponse
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
INGÉNIEUR EN ASSISTANCE TECHNIQUE
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions