/
realtime.spec
51 lines (50 loc) · 1.33 KB
/
realtime.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[
{
"firehose": {
"type": "kafka-0.8",
"feed": "test-topic",
"parser": {
"timestampSpec": {
"format": "iso",
"column": "timestamp"
},
"data": {
"format": "json"
}
},
"consumerProps": {
"zookeeper.connect": "ZOOKEEPER_HOSTNAME:ZOOKEEPER_PORT",
"group.id": "drud-test-group",
"auto.commit.enable": "false",
"zookeeper.session.timeout.ms": "15000",
"zookeeper.sync.time.ms": "5000",
"auto.offset.reset": "largest",
"fetch.message.max.bytes": "1048586",
"zookeeper.connection.timeout.ms": "15000"
}
},
"plumber": {
"basePersistDirectory": "/tmp/realtime/basePersist",
"segmentGranularity": "hour",
"type": "realtime",
"windowPeriod": "PT5m"
},
"config": {
"intermediatePersistPeriod": "PT5m",
"maxRowsInMemory": 500000
},
"schema": {
"indexGranularity": "minute",
"aggregators": [
{
"name": "count_words",
"type": "count"
}
],
"dataSource": "druid_test",
"shardSpec": {
"type": "none"
}
}
}
]