As part of my existing application (which runs in the public network), I want to send some messages to AWS MSK
Kafka cluster. As my Kafka cluster is within a VPC
, I couldn't connect to it directly. That I understood. In my research, I came across a pattern - by running confluent's kafka-rest on a ec2-instance
within same VPC
having a public subnet
. But my application needs to make HTTP
calls to send the messages to my kafka cluster, which adds extra latency.
I'm trying to figure out a way by having some persistent connection
and send messages to MSK
cluster.
Any Thoughts Please!!