DevOps | Cloud | Analytics | Open Source | Programming





How To Connect Local Python to Kafka on AWS EC2 ?



This post helps - How to Connect Python running on local machine to Kafka running on AWS EC2 . Try the below fixes -

  • You need to set -


advertised.listeners = EC2 Public DNS/IP,


  • Restart the broker,
  • Open the VPC / firewall connection on the listening port.
  • Python and Kafka Connect should share the same bootstrap.server protocol
  Once done , test the Kafka Listeners using




kafkacat -L -b <bootstrap>:9092



Hope this helps - This post helps - How to Connect Python running on local machine to Kafka running on AWS EC2 .    

Additional Read -

 

install kafka on aws ec2, kafka on aws best practices, kafka on aws ecs, aws kafka tutorial, aws msk kafka connect, aws lambda kafka consumer, aws lambda kafka producer, aws kafka consumer, Connect Python to Kafka on AWS EC2, install kafka on aws ec2, aws kafka tutorial, kafka on aws ecs, kafka on aws best practices, aws msk kafka connect, aws kafka java example, confluent kafka on aws, aws kafka consumer, aws kafka, python kafka consumer from beginning, aws kafka java example, python kafka producer send json, boto3 kafka , aws kafka producer consumer, aws kafka documentation, kafka-python tutorial