Hi team setting up realtime table with Kafka and n...
# troubleshooting
j
Hi team setting up realtime table with Kafka and notice it ingests data for a few minutes and then stops. We are using 1 realtime server but it has available CPU, memory and disk after ingestion. The row count gets to a certain number and then stops growing. I have seen as low as 300k and as high as 1.7m. Any typical reasons why this would happen? Table config in-thread
Copy code
{
  "REALTIME": {
    "tableName": "spark_metrics_REALTIME",
    "tableType": "REALTIME",
    "segmentsConfig": {
      "schemaName": "spark_metrics",
      "replication": "1",
      "replicasPerPartition": "1",
      "timeColumnName": "__metadata$recordTimestamp",
      "minimizeDataMovement": false
    },
    "tenants": {
      "broker": "DefaultTenant",
      "server": "DefaultTenant",
      "tagOverrideConfig": {}
    },
    "tableIndexConfig": {
      "invertedIndexColumns": [],
      "noDictionaryColumns": [],
      "streamConfigs": {
        "streamType": "kafka",
        "stream.kafka.topic.name": "spark-metrics",
        "stream.kafka.broker.list": "mon-infra-metrics-kafka-dev.internal.ec2.tinyspeck.com: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.stream.kafka.KafkaJSONMessageDecoder",
        "realtime.segment.flush.threshold.rows": "0",
        "realtime.segment.flush.threshold.time": "24h",
        "realtime.segment.flush.threshold.segment.size": "100M"
      },
      "rangeIndexColumns": [],
      "rangeIndexVersion": 2,
      "autoGeneratedInvertedIndex": false,
      "createInvertedIndexDuringSegmentGeneration": false,
      "sortedColumn": [],
      "bloomFilterColumns": [],
      "loadMode": "MMAP",
      "onHeapDictionaryColumns": [],
      "varLengthDictionaryColumns": [],
      "enableDefaultStarTree": false,
      "enableDynamicStarTreeCreation": false,
      "aggregateMetrics": false,
      "nullHandlingEnabled": false,
      "optimizeDictionary": false,
      "optimizeDictionaryForMetrics": false,
      "noDictionarySizeRatioThreshold": 0.85
    },
    "metadata": {},
    "quota": {},
    "routing": {},
    "query": {},
    "ingestionConfig": {
      "continueOnError": false,
      "rowTimeValueCheck": false,
      "segmentTimeValueCheck": true
    },
    "isDimTable": false
  }
}
r
Hi @Jessica Stewart do you find any errors in Controller logs or Server logs? I had similar issue which was due to memory + disc size issue ( unable to commit segment)