You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Producer:
Description
Meet KafkaTimeout exception while connecting to MSK cluster in China region with IAM auth.
Action done
Checked the network related settings, and switch to use Java to connect to 9098 endpoint without meet any issue.
Checked the code:
In aws_msk_iam_sasl_signer.py, line 17: https://github.com/aws/aws-msk-iam-sasl-signer-python/blob/main/aws_msk_iam_sasl_signer/MSKAuthTokenProvider.py#L17C1-L17C58
The ENDPOINT_URL_TEMPLATE is only for AWS Global clusters, the MSK endpoint in China has suffix: ".cn", example:
CN_NORTH_1: kafka.cn-north-1.amazonaws.com.cn
doc link for China services endpoint: https://docs.amazonaws.cn/en_us/aws/latest/userguide/endpoints-Beijing.html
Action needed
The text was updated successfully, but these errors were encountered: