examples.stream.meetupRsvpJson.meetupRsvpJson_realtime_table_config.json Maven / Gradle / Ivy
{
"tableName": "meetupRsvpJson",
"tableType": "REALTIME",
"tenants": {},
"segmentsConfig": {
"timeColumnName": "mtime",
"timeType": "MILLISECONDS",
"segmentPushType": "APPEND",
"replicasPerPartition": "1",
"retentionTimeUnit": "DAYS",
"retentionTimeValue": "1"
},
"ingestionConfig": {
"streamIngestionConfig": {
"streamConfigMaps": [
{
"streamType": "kafka",
"stream.kafka.consumer.type": "lowLevel",
"stream.kafka.topic.name": "meetupRSVPJsonEvents",
"stream.kafka.decoder.class.name": "org.apache.pinot.plugin.stream.kafka.KafkaJSONMessageDecoder",
"stream.kafka.hlc.zk.connect.string": "localhost:2191/kafka",
"stream.kafka.consumer.factory.class.name": "org.apache.pinot.plugin.stream.kafka20.KafkaConsumerFactory",
"stream.kafka.zk.broker.url": "localhost:2191/kafka",
"stream.kafka.broker.list": "localhost:19092"
}
]
},
"transformConfigs": [
{
"columnName": "event_json",
"transformFunction": "jsonFormat(event)"
},
{
"columnName": "group_json",
"transformFunction": "jsonFormat(\"group\")"
},
{
"columnName": "member_json",
"transformFunction": "jsonFormat(member)"
},
{
"columnName": "venue_json",
"transformFunction": "jsonFormat(venue)"
}
]
},
"tableIndexConfig": {
"loadMode": "MMAP",
"noDictionaryColumns": [
"event_json",
"group_json",
"member_json",
"venue_json"
],
"jsonIndexColumns": [
"event_json",
"group_json",
"member_json",
"venue_json"
]
},
"metadata": {
"customConfigs": {}
}
}