metric-module/metric/src/main/pinot/multi-table/README.md
This script adds schemas, real-time tables, and offline tables to a Pinot cluster.
multi-table.sh to create configuration files and add tables to the Pinot cluster.START_INDEX, END_INDEX, and CONTROLLER_ADDRESS as arguments.Note:
streamConfigs:stream.kafka.broker.list within template_REALTIME.json.${NUM} from template files.START_INDEX: The start index for table creation. Must be non-negative integers up to 2 digits.END_INDEX: The end index for table creation. Must be non-negative integers up to 2 digits.CONTROLLER_ADDRESS: The address of the Pinot cluster controller.Note:
START_INDEX <= END_INDEX.Command for adding 1 table (inspectorStatAgent00)
$ multi-table.sh 0 0 http://localhost:9000
Command for adding 3 table (inspectorStatAgent01 to inspectorStatAgent03)
$ multi-table.sh 1 3 http://localhost:9000