Error when following MSK documents

0

Hi I was trying to follow the document in creating a MSK for project use (https://docs.aws.amazon.com/msk/latest/developerguide/create-topic.html ). I followed the steps until step 3 and received the following error message. Just wondering if there is an account-specific issue, or if there is an updated document to follow.

"Error while executing topic command : Call(callName=createTopics, deadlineMs=1674775795279, tries=1, nextAllowedTryMs=1674775795380) timed out at 1674775795280 after 1 attempt(s) [2023-01-26 23:29:55,285] ERROR org.apache.kafka.common.errors.TimeoutException: Call(callName=createTopics, deadlineMs=1674775795279, tries=1, nextAllowedTryMs=1674775795380) timed out at 1674775795280 after 1 attempt(s) Caused by: org.apache.kafka.common.errors.TimeoutException: Timed out waiting for a node assignment. Call: createTopics (kafka.admin.TopicCommand$)"

preguntada hace un año379 visualizaciones
1 Respuesta
0

In most cases, TimeoutException is coming due to the incorrect properties for the selected protocol, or network-security configuration.

Steps for troubleshooting:

  1. Telnet to the port you are using in bootstrap string (it should be one of 9092, 9094, 9096 or 9098 depending on which authentication mechanism you are using): telnet <borker_host_name> <port> a. if you cannot connect, check Security Group settings (step 2: items 9-14)
  2. If telnet works, check that you have correct properties for the selected authentication mechanism. Ref: https://docs.aws.amazon.com/msk/latest/developerguide/iam-access-control.html

If still doesn't work, please add a comment with: exact command you are executing (replace only host name with a token, but keep a port). if a port is not 9092, please provide a content of property file which you add as a command-config to your command. Please replace any sensitive data (credentials, role names, etc) with tokens.

AWS
EdbE
respondido hace un año

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