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

질문됨 2년 전1036회 조회
1개 답변
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
지원 엔지니어
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인