Connect Amazon MSK cluster to on-premises web server?

0

I am trying out AWS MSK and created a cluster following the tutorial. What I want to know is, how can I connect my on-premises web sever to the created cluster as a producer. The tutorial only mention how to use AWS MSK with ec2 instance. Is there any other tutorial or blog post that I can refer to?

Htoon
已提問 5 年前檢視次數 2712 次
3 個答案
0
已接受的答案

There are several methods to connect to your AWS MSK clusters outside of your VPC.
VPN: https://docs.aws.amazon.com/vpc/latest/userguide/vpn-connections.html
VPC Peering: https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html
VPC Transit Gateway: https://docs.aws.amazon.com/vpc/latest/tgw/what-is-transit-gateway.html
AWS Direct Connect: https://aws.amazon.com/directconnect/
REST Proxy: A REST proxy can be installed on an instance running within your VPC. REST proxies allow your producers and consumers to communicate to the cluster through HTTP API requests.

已回答 5 年前
0

Hi,
This stackoverflow article describes a way for on-premise machines to access the MSK cluster through a kafka Rest Proxy framework.
https://stackoverflow.com/questions/55408193/amazon-managed-streaming-for-kafka-msk-features-and-performance
Hope this helps,
-randy

已回答 5 年前
0

Thanks I will check the confluent rest proxy.

Htoon
已回答 5 年前

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

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

回答問題指南