1 Answer
- Newest
- Most votes
- Most comments
0
In most cases, TimeoutException is coming due to the incorrect properties for the selected protocol, or network-security configuration.
Steps for troubleshooting:
- 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) - 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.
answered a year ago
Relevant content
- Accepted Answerasked 9 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 25 days ago