How MSK connect choose in which subnet to run connector ?

0

Lets say I have a kafka cluster having three brokers running in a different subnets. out of them only one is public and other two are private. public is attached to a NAT gateway, and private subnets traffic are routed via NAT.

so the question is when a connector is getting created we provide it with bootstrapServer address and subnets, how it decides in which subnet it should deploy the connector ? Thanks.

1 回答
0

so the question is when a connector is getting created we provide it with bootstrapServer address and subnets, how it decides in which subnet it should deploy the connector ?

Hello,

If you are creating the connector in AWS Console, you would need to select the MSK Cluster right. So, the Connector will automatically use the Network resources(VPC, Subnets, Security Groups) of the chosen MSK Cluster.

However, if you are creating the connector via the CLI/API, you would need to manually mention the Network resources(VPC, Subnets, Security Groups).

So, the Connector will be ideally deployed on all the subnets that are associated with your cluster which provides you the high availability.

AWS
支持工程师
已回答 8 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则