2 Answers
- Newest
- Most votes
- Most comments
0
In most cases Timeout exception is coming when security groups (SG) or network aren't configured correctly.
The easiest way to test network connectivity, is to run telnet to the port 9198 of any/each of the brokers. Expected results:
$ telnet b-1.msk.aaaaa.c1.kafka.us-west-2.amazonaws.com 9198
Trying 10.0.1.1...
Connected to b-1.msk.aaaaa.c1.kafka.us-west-2.amazonaws.com.
Escape character is '^]'.
If there is a connectivity, please update your question with the details of client properties and which lang is used.
answered 4 months ago
0
Telnet command provided above was working as expected. I am using IAM authentication with public endpoint. Client properties are as follows. "EnableDeliveryReports": "true", "RequestTimeoutMs": "60000", "SaslMechanism": "OAuthBearer", "SecurityProtocol": "SaslPlaintext"
Language used is C#. Was able to resolve the issue by changing security protocol to SaslSsl
answered 3 months ago
Relevant content
- Accepted Answerasked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago