Pinot Version | 0.9.3 |
---|---|
Code | startreedata/pinot-recipes/managed-offline-flow |
Prerequisites
To follow the code examples in this guide, you must install Docker locally and download recipes. Clone this repository and navigate to this recipe:Makefile
Managed Offline Flow
- Sets the necessary properties in the Pinot Controller to enable the managed offline flow task:
RealtimeToOfflineSegmentsTask
.timeoutMs
and.numConcurrentTasksPerInstance
. - Schedules the task to run.
- Prints logs related to the task.
- Updates the hybrid table’s time boundary so that you can see records that have been move to offline.
View realtime and offline segments
Navigate to http://localhost:9000/#/query and run the following query:make realtime
to generate more data and make manage_offline_flow
to migrate older data to OFFLINE. See the README on GitHub for this recipe for sample output.