我在 vpc 中有一个 amazon msk 集群 (kafka),我可以通过同一 vpc 中的客户端(EC2 实例)访问它。
我的问题是.. 我可以从本地计算机上的客户端访问我的集群吗?我该如何进行此配置?我尝试更改 vpc 和子网的路由表,但仍然无法更改。
最佳答案
这不是直接可能的。根据 MSK FAQ
Yes, the only way data can be produced and consumed from an Amazon MSK cluster is over a private connection between your clients in your VPC and the Amazon MSK cluster. Amazon MSK does not support public endpoints.
相反,您将需要一个 VPN 连接入站到您的 VPC 或堡垒主机来代理从您的本地主机到 MSK 的流量。
关于amazon-web-services - 本地访问amazon msk集群,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62310810/