File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed
Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ clickhouse client -n <<-EOSQL
3131 kafka_topic_list = 'flows',
3232 kafka_group_name = 'clickhouse',
3333 kafka_format = 'Protobuf',
34- kafka_schema = './ flow.proto:FlowMessage';
34+ kafka_schema = 'flow.proto:FlowMessage';
3535
3636 CREATE TABLE IF NOT EXISTS flows_raw
3737 (
Original file line number Diff line number Diff line change 11version : " 3"
22services :
3- zookeeper :
4- image : ' bitnami/zookeeper:latest'
5- ports :
6- - ' 2181:2181'
7- environment :
8- - ALLOW_ANONYMOUS_LOGIN=yes
9- restart : always
103 kafka :
114 image : ' bitnami/kafka:latest'
125 ports :
136 - ' 9092:9092'
147 environment :
15- - KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
168 - ALLOW_PLAINTEXT_LISTENER=yes
179 - KAFKA_DELETE_TOPIC_ENABLE=true
1810 restart : always
19- depends_on :
20- - ' zookeeper'
2111 initializer :
2212 image : ' bitnami/kafka:latest'
2313 depends_on :
2414 - ' kafka'
2515 entrypoint : ' /bin/bash'
2616 command : >
2717 -c "sleep 15 ;
28- kafka-topics.sh --create --zookeeper zookeeper:2181 --replication-factor 1 --partitions 2 --topic flows ;"
18+ kafka-topics.sh --create --bootstrap-server kafka:9092 --replication-factor 1 --partitions 2 --topic flows ;"
2919 grafana :
3020 build : ../grafana
21+ environment :
22+ - GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=vertamedia-clickhouse-datasource
3123 ports :
3224 - ' 3000:3000'
3325 restart : always
You can’t perform that action at this time.
0 commit comments