Hello, Is there any way to push data from REALTIME...
# getting-started
c
Hello, Is there any way to push data from REALTIME table to offline table when the segments are full, so that there is no stop in consuming records?
s
👍 1
c
Hi @saurabh dubey, I've tried with below config but servers stopped consumption after 1000 records
Copy code
"task": {
      "taskTypeConfigsMap": {
        "RealtimeToOfflineSegmentsTask": {
          "bucketTimePeriod": "10m",
          "bufferTimePeriod": "0m",
          "roundBucketTimePeriod": "1m",
          "maxNumRecordsPerSegment": "800"
        }
      }
    }
And I dont see any segments created in offline table. Can you please help me with this?
Here is the OFFLINE table for reference
Copy code
{
  "OFFLINE": {
    "tableName": "ts_demo_OFFLINE",
    "tableType": "OFFLINE",
    "segmentsConfig": {
      "schemaName": "ts_demo",
      "segmentPushType": "APPEND",
      "replication": "1",
      "segmentPushFrequency": "HOURLY",
      "timeColumnName": "createdDate",
      "allowNullTimeValue": false,
      "replicasPerPartition": "1"
    },
    "tenants": {
      "broker": "DefaultTenant",
      "server": "DefaultTenant"
    },
    "tableIndexConfig": {
      "invertedIndexColumns": [],
      "noDictionaryColumns": [],
      "rangeIndexColumns": [],
      "rangeIndexVersion": 2,
      "autoGeneratedInvertedIndex": false,
      "createInvertedIndexDuringSegmentGeneration": false,
      "sortedColumn": [],
      "bloomFilterColumns": [],
      "loadMode": "MMAP",
      "onHeapDictionaryColumns": [],
   {
  "OFFLINE": {
    "tableName": "ts_demo_OFFLINE",
    "tableType": "OFFLINE",
    "segmentsConfig": {
      "schemaName": "ts_demo",
      "segmentPushType": "APPEND",
      "replication": "1",
      "segmentPushFrequency": "HOURLY",
      "timeColumnName": "createdDate",
      "allowNullTimeValue": false,
      "replicasPerPartition": "1"
    },
    "tenants": {
      "broker": "DefaultTenant",
      "server": "DefaultTenant"
    },
    "tableIndexConfig": {
      "invertedIndexColumns": [],
      "noDictionaryColumns": [],
      "rangeIndexColumns": [],
      "rangeIndexVersion": 2,
      "autoGeneratedInvertedIndex": false,
      "createInvertedIndexDuringSegmentGeneration": false,
      "sortedColumn": [],
      "bloomFilterColumns": [],
      "loadMode": "MMAP",
      "onHeapDictionaryColumns": [],
      "varLengthDictionaryColumns": [],
      "enableDefaultStarTree": false,
      "enableDynamicStarTreeCreation": false,
      "aggregateMetrics": false,
      "nullHandlingEnabled": false
    },
    "metadata": {},
    "quota": {},
    "routing": {},
    "query": {},
    "ingestionConfig": {},
    "isDimTable": false
  }
}   "varLengthDictionaryColumns": [],
      "enableDefaultStarTree": false,
      "enableDynamicStarTreeCreation": false,
      "aggregateMetrics": false,
      "nullHandlingEnabled": false
    },
    "metadata": {},
    "quota": {},
    "routing": {},
    "query": {},
    "ingestionConfig": {},
    "isDimTable": false
  }
}
s
Did you start pinot-minion instance?
Also make sure you controller has PinotTaskManager enabled via controller.task.frequencyPeriod
c
Minion pod is running and
controller.task.scheduler.enabled=true
property is added to controller
s
Are there any error logs on server? Also just making sure, did you restart the controller after changing the property?
n
Generally, if you're observing that realtime consumption stops at the same point, it's because of some exception in segment build. Can you check the Pinot server logs for any errors in segment build?