ruhz3 opened a new issue, #10070:
URL: https://github.com/apache/pinot/issues/10070

   Hi, I' am Hyungju.
   
   I'm trying to apply this great product on my service.
   
   Reading the documents, It seemed like thrift ingestion is only possible in 
batch ingestion.
   
   I tried with below configuration, but it didn't work at all.
   
   Is there any way to insert thrift data into pinot through stream ingestion?
   (Can groovy script help with this?)
   
   ```
   {
     "REALTIME": {
       "tableName": "transcript-topic_REALTIME",
       "tableType": "REALTIME",
       "segmentsConfig": {
         "schemaName": "transcript-topic",
         "replication": "1",
         "replicasPerPartition": "1",
         "timeColumnName": "timeStamp",
         "minimizeDataMovement": false
       },
       "tenants": {
         "broker": "DefaultTenant",
         "server": "DefaultTenant",
         "tagOverrideConfig": {}
       },
       "tableIndexConfig": {
         "invertedIndexColumns": [],
         "noDictionaryColumns": [],
         "streamConfigs": {
           "streamType": "kafka",
           "stream.kafka.topic.name": "transcript-topic",
           "stream.kafka.broker.list": "kafka.namespace:9092",
           "stream.kafka.consumer.type": "lowlevel",
           "stream.kafka.consumer.prop.auto.offset.reset": "smallest",
           "stream.kafka.consumer.factory.class.name": 
"org.apache.pinot.plugin.stream.kafka20.KafkaConsumerFactory",
           "stream.kafka.decoder.class.name": 
"org.apache.pinot.plugin.inputformat.thrift.ThriftRecordReader",
           "realtime.segment.flush.threshold.rows": "0",
           "realtime.segment.flush.threshold.time": "24h",
           "realtime.segment.flush.threshold.segment.size": "100M",
           "stream.kafka.decoder.prop.thriftClass": "MyThriftClassName"
         },
         "loadMode": "MMAP",
         "onHeapDictionaryColumns": [],
         "varLengthDictionaryColumns": [],
         "enableDefaultStarTree": false,
         "enableDynamicStarTreeCreation": false,
         "aggregateMetrics": false,
         "nullHandlingEnabled": false,
         "optimizeDictionary": false,
         "optimizeDictionaryForMetrics": false,
         "noDictionarySizeRatioThreshold": 0,
         "rangeIndexColumns": [],
         "rangeIndexVersion": 2,
         "autoGeneratedInvertedIndex": false,
         "createInvertedIndexDuringSegmentGeneration": false,
         "sortedColumn": [],
         "bloomFilterColumns": []
       },
       "metadata": {},
       "quota": {},
       "routing": {},
       "query": {},
       "ingestionConfig": {
         "continueOnError": false,
         "rowTimeValueCheck": false,
         "segmentTimeValueCheck": true
       },
       "isDimTable": false
     }
   }]
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to