Open
Description
openedon Jun 21, 2022
Hi, I'm currently working on testing kafka broker / topic and payload for integration testing, I just want to know that to spin up the kafka docker container, I first have to install kafka broker locally right? Because when I run the following code:
with KafkaContainer('confluentinc/cp-kafka:5.4.3') as kafka_container: bluhbluhbluh.....
a specific kafka gets started, and is waiting to be ready, but then it throws NoBrokerAvailable
exception after sine time, so the program stops at the with statement, and the "bluhbluhbluh" part doesn't get executed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment