You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2019/09/02 14:27:03 UTC

[GitHub] [incubator-pinot] kishoreg commented on a change in pull request #4575: Use docker compose for pinot quickstart

kishoreg commented on a change in pull request #4575: Use docker compose for pinot quickstart
URL: https://github.com/apache/incubator-pinot/pull/4575#discussion_r319979892
 
 

 ##########
 File path: docker/README.md
 ##########
 @@ -113,4 +113,35 @@ docker run -p 8099:8099 pinot:release-0.1.0 StartBroker -zkAddress 172.17.0.2:21
 Example of bring up a local server:
 ```SHELL
 docker run -p 8098:8098 pinot:release-0.1.0 StartServer -zkAddress 172.17.0.2:2181
-```
\ No newline at end of file
+```
+
+## QuickStart
+
+
+### Use docker compose to bring up Pinot stack
+
+Please note that this quickstart is based on Kafka 2.0.
+
+Below is a script to use docker compose to bring up zookeeper/kafka/pinot-controller/pinot-broker/pinot-server
+```SHELL
+docker-compose -f docker-compose.yml up
+```
+
+### Create table and load data from Kafka.
+
+Below is the script to upload airlineStats schema
+```SHELL
+docker run --network=docker_default winedepot/pinot:kafka2 AddSchema -controllerHost pinot-controller -controllerPort 9000 -schemaFile sample_data/airlineStats_schema.json -exec
+```
+
+Below is the script to create airlineStats table
+```SHELL
+docker run --network=docker_default winedepot/pinot:kafka2 AddTable -filePath sample_data/docker/airlineStats_realtime_table_config.json -controllerHost pinot-controller -controllerPort 9000 -exec
+```
+
+Below is the script to ingest airplane stats data to Kafka
+```SHELL
 
 Review comment:
   Can we make the docker image location as parameter?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org