-
Notifications
You must be signed in to change notification settings - Fork 3.7k
/
pinot-double-realtime-table.json
45 lines (45 loc) · 1.52 KB
/
pinot-double-realtime-table.json
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
{
"tableName": "systemMetricDouble",
"tableType": "REALTIME",
"segmentsConfig": {
"timeColumnName": "eventTime",
"timeType": "MILLISECONDS",
"schemaName": "systemMetricDouble",
"replicasPerPartition": "3",
"retentionTimeUnit": "DAYS",
"retentionTimeValue": "7"
},
"tenants": {},
"tableIndexConfig": {
"sortedColumn": ["hostName"],
"bloomFilterColumns": ["tenantId", "serviceName", "hostGroupName", "hostName", "metricName", "fieldName"],
"noDictionaryColumns": ["fieldValue", "eventTime"],
"loadMode": "MMAP",
"nullHandlingEnabled": true,
"streamConfigs": {
"streamType": "kafka",
"stream.kafka.consumer.type": "lowlevel",
"stream.kafka.topic.name": "system-metric-double",
"stream.kafka.decoder.class.name": "org.apache.pinot.plugin.stream.kafka.KafkaJSONMessageDecoder",
"stream.kafka.consumer.factory.class.name": "org.apache.pinot.plugin.stream.kafka20.KafkaConsumerFactory",
"stream.kafka.broker.list": "localhost:19092",
"realtime.segment.flush.threshold.rows": "0",
"realtime.segment.flush.threshold.time": "24h",
"realtime.segment.flush.threshold.segment.size": "64M",
"stream.kafka.consumer.prop.auto.offset.reset": "smallest"
}
},
"metadata": {
"customConfigs": {}
},
"task": {
"taskTypeConfigsMap": {
"RealtimeToOfflineSegmentsTask": {
"bucketTimePeriod": "4h",
"bufferTimePeriod": "12h",
"schedule": "0 0 * * * ?",
"maxNumRecordsPerSegment": "6000000"
}
}
}
}