Read the text file hhgttg.txt and produces new sentences using markov chains.
The new sentences are publised to a kafka topic.
There are two message handlers in the consumer.
The first one, writes the messages to stdout with a print
statement.
The second handler stores the messages as a dictionary in a redis instance.
- python 3
- docker 1.17.0+
- docker compose 1.17.0+
docker-compose up