{"repo":"marcosschroh/faust-docker-compose-example","free":true,"listed":false,"github":"https://github.com/marcosschroh/faust-docker-compose-example","clone":"git clone https://github.com/marcosschroh/faust-docker-compose-example.git","description":"Faust dockerized application","language":"Python","stars":68,"topics":["faust","kafka","schema-registry","zookeeper","data-stream-processing","docker"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Faust-Docker-Compose An example to show how to include a faust project as a service using docker compose , with Kafka, Zookeeper and Schema Registry Notice that everything runs using docker-compose , including the faust example application. For local development is preferable to run the kafka cluster separate from the faust app . If you want to generate a faust project from scratch, please use the cookiecutter-faust Read more about Faust here: https://github.com/robinhood/faust Project The project skeleton is defined as a medium/large project according to faust layout The setup.py has the entrypoint to resolve the entrypoint problem Applications Page Views : This application corresponds to Tutorial: Count page views Leader Election : This application corresponds to Tutorial: Leader Election Users : This is a custom application to demostrate how to integrate Faust with Avro Schema . Faust Project Dockerfile The Dockerfile is based on python:3.7-slim . The most important here is that the entrypoint will wait for kafka too be ready and after that execute the script run.sh Docker compose docker-compose.yaml includes zookeepeer , kafka and schema-registry based on confluent-inc . For more information you can go to confluentinc and see the docker compose example here Useful ENVIRONMENT variables that you may change: Variable description example -------- -------------- --------- WORKER Entrypoint in setup.py example WORKER PORT Worker port 6066 KAFKA BOOSTRAP SERVER Kafka servers ka","default_branch":null,"files":null,"tree":[],"storefront":"/r/marcosschroh","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/marcosschroh/faust-docker-compose-example/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}