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.

profile picture
Ritik
已提問 8 個月前檢視次數 377 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南