doidbr / pizza-shop-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pizza Shop Demo

This repository contains the code for the Pizza Shop Demo.

Run the demo

docker-compose \
  -f docker-compose-base.yml \
  -f docker-compose-pinot.yml \
  -f docker-compose-dashboard-enriched-quarkus.yml \
  up
docker-compose \
  -f docker-compose-base.yml \
  -f docker-compose-pinot-m1.yml \
  -f docker-compose-dashboard-enriched-quarkus.yml \
  up

Once that's run, you can navigate to the following:

You can find a deeper dive on each of the components at https://dev.startree.ai/docs/pinot/demo-apps/pizza-shop

Things that sometimes don't work

If the RedHat Docker repository is being flaky, the Quarkus stuff might not work. If that's the case, run the following to launch everything instead:

docker-compose \
  -f docker-compose-base.yml \
  -f docker-compose-pinot.yml \
  -f docker-compose-dashboard-enriched.yml \
  up

The Kafka Streams component can get itself in a broken/stuck state if it tries to start before the Kafka topics exist. To fix that, restart the service:

docker restart kafka-streams

Less frequently, the pinot-add-table service never returns code 0 if it created one table and not the other. To stop that service, run this:

docker stop pinot-add-table

About


Languages

Language:Python 49.8%Language:Java 46.1%Language:Dockerfile 4.2%