Skip to content

(POC) Project that simulates a ecommerce running several micro-services with Kafka

License

Notifications You must be signed in to change notification settings

jpwakugawa/kafka-ecommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka-Ecommerce

(POC) Project that simulates a ecommerce running several micro-services with Kafka.


Step-by-step (Local)

  • Download Kafka Scala 2.13 at Apache Kafka

  • Extract the folder inside the project

  • Start Zookeeper:

    bin/zookeeper-server-start.sh config/zookeeper.properties
  • Start Kafka:

    bin/kafka-server-start.sh config/server.properties
  • Go to /apps and start consumers:

    python3 email_service.py
    python3 fraud_detector_service.py
    python3 log_service.py
  • Go to /apps and try sendind orders:

    python3 new_order_service.py

Step-by-step (Docker)

  • Start Kafka Broker and UI:

    docker-compose up -d
  • See the process running at Kafka UI

  • Go to /apps and start consumers:

    python3 email_service.py
    python3 fraud_detector_service.py
    python3 log_service.py
  • Go to /apps and try sendind orders:

    python3 new_order_service.py

Resources

About

(POC) Project that simulates a ecommerce running several micro-services with Kafka

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages