Kafka flow generation tool.
- Install package with
python -m pip install . --upgrade
. - Generate a diagram in draw.io and export it in XML (it's very important to not mark the compressed option).
- Generate the components with
kafkawizard -i diagram.xml -o output_folder -a the_author -m the_author_mail@mail.mail -b kafka_broker_address:9092
.
- create the components with blocks.
- join the components with arrow (ensure arrows are attached).
- give name to the components.
Note: when multiple components read from one topic, if all are joined with normal arrows, all messages are received in each one. But in the ones joined with dotted arrows, the messages are distributed among all.
An example of functional diagram can be found here.
The code generation of this tool, is based in the kafka-cookie template for cookiecutter.