Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update running-pinot-in-docker.md to include minion config #397

Open
wants to merge 2 commits into
base: latest
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions basics/getting-started/running-pinot-in-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,18 @@ docker run --rm -ti \
-d ${PINOT_IMAGE} StartServer \
-zkAddress pinot-zookeeper:2181
```
#### Start Pinot Minion

A Pinot minion is an optional cluster component that executes background tasks on table data apart from the query processes performed by brokers and servers

```
docker run --rm -ti \
--network=pinot-demo \
--name pinot-minion \
-p 6000:6000 \
-d ${PINOT_IMAGE} StartMinion \
-zkAddress pinot-zookeeper:2181
```

#### Start Kafka

Expand Down Expand Up @@ -192,6 +204,7 @@ accc70bc7f07 bitnami/kafka:3.6 "/opt/bitnami/script…" About a minu
134a67eec957 apachepinot/pinot:1.2.0 "./bin/pinot-admin.s…" About a minute ago Up About a minute 8096-8098/tcp, 9000/tcp, 0.0.0.0:8099->8099/tcp pinot-broker
4fcc72cb7302 apachepinot/pinot:1.2.0 "./bin/pinot-admin.s…" About a minute ago Up About a minute 8096-8099/tcp, 0.0.0.0:9000->9000/tcp pinot-controller
144304524f6c zookeeper:3.9.2 "/docker-entrypoint.…" About a minute ago Up About a minute 2888/tcp, 3888/tcp, 0.0.0.0:2181->2181/tcp, 8080/tcp pinot-zookeeper
9f7f194d9f40 apachepinot/pinot:1.2.0 "./bin/pinot-admin.s…" About a minute ago Up About a minute 8096-8099/tcp, 0.0.0.0:6000->6000/tcp, 9000/tcp pinot-minion
```

### Docker Compose
Expand Down Expand Up @@ -319,6 +332,18 @@ services:
retries: 5
start_period: 10s

pinot-minion:
image: ${PINOT_IMAGE:-apachepinot/pinot:1.2.0}
command: "StartMinion -zkAddress pinot-zookeeper:2181"
restart: unless-stopped
container_name: "pinot-minion"
ports:
- "6000:6000"
depends_on:
- pinot-broker
networks:
- pinot-demo

networks:
pinot-demo:
name: pinot-demo
Expand Down