What kafka image are you using? #4
-
i'm using the following docker-compose.yml
|
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 1 reply
-
Hi, We are not using docker images to run ApacheKafka. For testing with a real ApacheKafka broker, the Tester object has an option to start ApacheKafka broker in another process. Here are the links to mentioned functions: If you plan to connect the Tester to your external broker, this is not yet supported, but we have submitted an issue for it: https://github.com/airtai/fastkafka/issues/355 |
Beta Was this translation helpful? Give feedback.
Hi,
We are not using docker images to run ApacheKafka.
For testing with a real ApacheKafka broker, the Tester object has an option to start ApacheKafka broker in another process.
You need to have JRE and Kafka installed on your machine, for that, you can use
fastkafka testing install_deps
command.There is also an option for starting an instance of ApacheKafkaBroker directly.
Here are the links to mentioned functions:
AacheKafkaBroker: https://fastkafka.airt.ai/docs/api/fastkafka/testing/ApacheKafkaBroker
Tester using local Apache Kafka: https://fastkafka.airt.ai/docs/api/fastkafka/testing/Tester#using_local_kafka
fastkafka testing install_deps command: https://fastkafka.airt.ai/docs/cli/…