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
asked a year ago408 views
1 Answer
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
SUPPORT ENGINEER
Rajat_C
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions