MSK Serverless Bootstrap Server Endpoint does not resolve

0

I followed this tutorial to provision a serverless MSK cluster. I am not able to connect to the cluster.

This troubleshooting guide recommends testing the connection via telnet: telnet bootstrap-broker port-number

I receive this response: telnet: could not resolve abc.c2.kafka-serverless.us-west-2.amazonaws.com/9098: Name or service not known

Does anyone know how I can connect a client to serverless MSK?

Note: I've followed the same steps with a provisioned cluster. These steps seem to work with a provisioned cluster. Perhaps the docs are just wrong.

Gary
已提問 1 年前檢視次數 428 次
1 個回答
1

Hello,

I understand that you are experiencing following error when running telnet command to troubleshoot your MSK serverless endpoint:

telnet: could not resolve abc.c2.kafka-serverless.us-west-2.amazonaws.com/9098: Name or service not known

I would request you to please check your telnet command and run the command again to confirm your network connectivity.

Telnet command syntax:

telnet <endpoint> <port number>

From the error message, I can see you are passing port number along with your endpoint (abc.c2.kafka-serverless.us-west-2.amazonaws.com/9098) due to which you are receiving above error. Correct telnet command syntax is shared below:

telnet abc.c2.kafka-serverless.us-west-2.amazonaws.com 9098

[+] Troubleshooting your Amazon MSK cluster - Unable to access cluster from within AWS: Networking issues - https://docs.aws.amazon.com/msk/latest/developerguide/troubleshooting.html#networking-trouble

AWS
支援工程師
Rajat_C
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南