admin管理员组文章数量:1278985
I've been trying to set up a connection between my local machine (OSX) and a serverless AWS MSK that is behind a VPC to be able to send messages.
Previously, I managed to set it up and send messages in a EC-2 instance behind the same VPC, and everything worked fine.
I found a few guides and following any of them ends up in timeouts when I try connecting to kafka. I would like to make one of them work, I will link it here and explain in short what it suggests to do: guide.
- I created Route 53 on AWS in my VPC in 2 zones and received two IPs.
- I added the inbound rule with my own IP address and ports 53 and 9098 (TCP/UDP) to the security group that is associated with my VPC and all the relevant services.
As the final step I needed to set up a DNS server, I'm not on Windows, and I have to admit, the networking is my weak spot, and I barely understand how it all works, so I installed dnsmasq. I added two lines
server=kafka-serverless.eu-central-1.amazonaws/<ip-1-route-35>
server=kafka-serverless.eu-central-1.amazonaws/<ip-2-route-35>
That didn't do anything. I then tried creating creating a file with the name
kafka-serverless.eu-central-1.amazonaws
in /etc/resolver/
and put
nameserver <ip-1-route-35>
nameserver <ip-2-route-35>
And that didn't do anything either. Most likely this isn't the way to do it. Could anyone help me with the proper settings in this case?
本文标签: amazon web servicesCan39t connect to AWS MSK Serverless via a local machineStack Overflow
版权声明:本文标题:amazon web services - Can't connect to AWS MSK Serverless via a local machine - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741255939a2366672.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论