File tree 2 files changed +4
-12
lines changed
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
31
31
kafka_topic_list = 'flows',
32
32
kafka_group_name = 'clickhouse',
33
33
kafka_format = 'Protobuf',
34
- kafka_schema = './ flow.proto:FlowMessage';
34
+ kafka_schema = 'flow.proto:FlowMessage';
35
35
36
36
CREATE TABLE IF NOT EXISTS flows_raw
37
37
(
Original file line number Diff line number Diff line change 1
1
version : " 3"
2
2
services :
3
- zookeeper :
4
- image : ' bitnami/zookeeper:latest'
5
- ports :
6
- - ' 2181:2181'
7
- environment :
8
- - ALLOW_ANONYMOUS_LOGIN=yes
9
- restart : always
10
3
kafka :
11
4
image : ' bitnami/kafka:latest'
12
5
ports :
13
6
- ' 9092:9092'
14
7
environment :
15
- - KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
16
8
- ALLOW_PLAINTEXT_LISTENER=yes
17
9
- KAFKA_DELETE_TOPIC_ENABLE=true
18
10
restart : always
19
- depends_on :
20
- - ' zookeeper'
21
11
initializer :
22
12
image : ' bitnami/kafka:latest'
23
13
depends_on :
24
14
- ' kafka'
25
15
entrypoint : ' /bin/bash'
26
16
command : >
27
17
-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 ;"
29
19
grafana :
30
20
build : ../grafana
21
+ environment :
22
+ - GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=vertamedia-clickhouse-datasource
31
23
ports :
32
24
- ' 3000:3000'
33
25
restart : always
You can’t perform that action at this time.
0 commit comments