Kafka Network Connection Conditions
Notes before using a private network:
- By default, a client and a Kafka instance are interconnected when they are deployed in the same VPC.
- If they are not, you need to interconnect them because of isolation among VPCs.
Table 1 lists how a client can connect to a Kafka instance.
Mode |
How To Do |
Reference |
---|---|---|
Private access |
A client and a Kafka instance are interconnected when they are deployed in the same VPC. |
- |
When a client and a Kafka instance are deployed in different VPCs of the same region, interconnect two VPCs using a VPC peering connection. |
"VPC Peering Connection" in Virtual Private Cloud User Guide |
Before connecting a client to a Kafka instance, allow accesses for the following security groups.
After a security group is created, its default inbound rule allows communication among ECSs within the security group and its default outbound rule allows all outbound traffic. In this case, you can access a Kafka instance within a VPC, and do not need to add rules according to Table 2.
Direction |
Protocol |
Port |
Source |
Description |
---|---|---|---|---|
Inbound |
TCP |
9092 |
0.0.0.0/0 |
|
Inbound |
TCP |
9093 |
0.0.0.0/0 |
|
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot