segments in the picture are sequential
and my config is like this.
after this 1h30m period, working fine.
I set kafka consuming option as smallest and there was massive consumption around the flushing time. Could it affect?
{
“REALTIME”: {
“tableName”: “transcript2_with_time_flush_REALTIME”,
“tableType”: “REALTIME”,
“segmentsConfig”: {
“timeType”: “SECONDS”,
“schemaName”: “transcript”,
“timeColumnName”: “timestamp”,
“allowNullTimeValue”: false,
“replicasPerPartition”: “2”
},
“tenants”: {
“broker”: “DefaultTenant”,
“server”: “DefaultTenant”
},
“tableIndexConfig”: {
“rangeIndexVersion”: 1,
“autoGeneratedInvertedIndex”: false,
“createInvertedIndexDuringSegmentGeneration”: false,
“loadMode”: “MMAP”,
“streamConfigs”: {
“streamType”: “kafka”,
“stream.kafka.consumer.type”: “lowlevel”,
“stream.kafka.topic.name”: “transcript”,
“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”: “
b-1.kafka-engine-v2.robgzv.c2.kafka.ap-northeast-2.amazonaws.com:9092”,
“stream.kafka.consumer.prop.auto.offset.reset”: “smallest”,
“realtime.segment.flush.threshold.time”: “30m”
},
“enableDefaultStarTree”: false,
“enableDynamicStarTreeCreation”: false,
“aggregateMetrics”: false,
“nullHandlingEnabled”: false
},
“metadata”: {
“customConfigs”: {}
},
“routing”: {
“instanceSelectorType”: “strictReplicaGroup”
},
“upsertConfig”: {
“mode”: “FULL”,
“hashFunction”: “NONE”
},
“isDimTable”: false
}
}