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$)"

질문됨 일 년 전375회 조회
1개 답변
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
답변함 일 년 전

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

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

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

관련 콘텐츠