Skip to content

Commit

Permalink
[pinpoint-apm#8004] change table config (index, segment option)
Browse files Browse the repository at this point in the history
  • Loading branch information
minwoo-jung committed Oct 19, 2021
1 parent 333262d commit b6f595f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
8 changes: 3 additions & 5 deletions metric-module/metric/src/main/pinot/pinot-double-table.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@
"schemaName": "systemMetricDouble",
"replicasPerPartition": "1",
"retentionTimeUnit": "DAYS",
"retentionTimeValue": "2"
"retentionTimeValue": "21"
},
"tenants": {},
"tableIndexConfig": {
"invertedIndexColumns": ["tags"],
"sortedColumn": ["hostGroupName"],
"rangeIndexColumns": ["eventTime"],
"loadMode": "MMAP",
"nullHandlingEnabled": true,
"streamConfigs": {
Expand All @@ -23,9 +21,9 @@
"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.size": "0",
"realtime.segment.flush.threshold.rows": "0",
"realtime.segment.flush.threshold.time": "24h",
"realtime.segment.flush.desired.size": "50M",
"realtime.segment.flush.threshold.segment.size": "64M",
"stream.kafka.consumer.prop.auto.offset.reset": "smallest"
}
},
Expand Down
8 changes: 3 additions & 5 deletions metric-module/metric/src/main/pinot/pinot-long-table.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@
"schemaName": "systemMetricLong",
"replicasPerPartition": "1",
"retentionTimeUnit": "DAYS",
"retentionTimeValue": "2"
"retentionTimeValue": "21"
},
"tenants": {},
"tableIndexConfig": {
"invertedIndexColumns": ["tags"],
"sortedColumn": ["hostGroupName"],
"rangeIndexColumns": ["eventTime"],
"loadMode": "MMAP",
"nullHandlingEnabled": true,
"streamConfigs": {
Expand All @@ -23,9 +21,9 @@
"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.size": "0",
"realtime.segment.flush.threshold.rows": "0",
"realtime.segment.flush.threshold.time": "24h",
"realtime.segment.flush.desired.size": "50M",
"realtime.segment.flush.threshold.segment.size": "64M",
"stream.kafka.consumer.prop.auto.offset.reset": "smallest"
}
},
Expand Down

0 comments on commit b6f595f

Please sign in to comment.