Commit 4a6b21d 1 parent 28f2643 commit 4a6b21d Copy full SHA for 4a6b21d
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -131,12 +131,12 @@ docker-compose -f docker-compose.yml up
131
131
132
132
Below is the script to create airlineStats table
133
133
``` SHELL
134
- docker run --network=docker_default apachepinot/pinot:0.3.0-SNAPSHOT AddTable -schemaFile examples/stream/airlineStats/airlineStats_schema.json -tableConfigFile examples/stream/airlineStats/docker/airlineStats_realtime_table_config.json -controllerHost pinot-controller -controllerPort 9000 -exec
134
+ docker run --network=pinot_default apachepinot/pinot:0.3.0-SNAPSHOT AddTable -schemaFile examples/stream/airlineStats/airlineStats_schema.json -tableConfigFile examples/stream/airlineStats/docker/airlineStats_realtime_table_config.json -controllerHost pinot-controller -controllerPort 9000 -exec
135
135
```
136
136
137
137
Below is the script to ingest airplane stats data to Kafka
138
138
``` SHELL
139
- docker run --network=docker_default apachepinot/pinot:0.3.0-SNAPSHOT StreamAvroIntoKafka -avroFile examples/stream/airlineStats/sample_data/airlineStats_data.avro -kafkaTopic flights-realtime -kafkaBrokerList kafka:9092 -zkAddress zookeeper:2181
139
+ docker run --network=pinot_default apachepinot/pinot:0.3.0-SNAPSHOT StreamAvroIntoKafka -avroFile examples/stream/airlineStats/sample_data/airlineStats_data.avro -kafkaTopic flights-realtime -kafkaBrokerList kafka:9092 -zkAddress zookeeper:2181
140
140
```
141
141
142
142
In order to query pinot, try to open ` localhost:9000/query ` from your browser.
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ services:
27
27
environment :
28
28
ZOO_MY_ID : 1
29
29
ZOO_PORT : 2181
30
- ZOO_SERVERS : server.1=zookeeper:2888:3888
30
+ ZOO_SERVERS : server.1=zookeeper:2888:3888;2181
31
31
volumes :
32
32
- ./pinot-docker-demo/zookeeper/data:/data
33
33
- ./pinot-docker-demo/zookeeper/datalog:/datalog
You can’t perform that action at this time.
0 commit comments