vishal
02/01/2023, 7:32 AMXiang Fu
Xiang Fu
vishal
02/01/2023, 8:57 AMMinionEventObserver file but i am not able to register it. can you please help me to register?Xiang Fu
vishal
02/01/2023, 9:09 AMXiang Fu
Xiang Fu
Plug-in Custom Tasks
To plug in a custom task, implement PinotTaskGenerator, PinotTaskExecutorFactory and MinionEventObserverFactory (optional) for the task type (all of them should return the same string for getTaskType()), and annotate them with the following annotations:
After annotating the classes, put them under the package of name org.apache.pinot.*.plugin.minion.tasks.*, then they will be auto-registered by the controller and minion.
Example
See SimpleMinionClusterIntegrationTest where the TestTask is plugged-in.vishal
02/01/2023, 9:11 AMMinionEventObserverXiang Fu
Xiang Fu
vishal
02/01/2023, 9:20 AMvishal
02/01/2023, 9:20 AMMinionEventObserverFactory and MinionEventObservervishal
02/01/2023, 11:18 AMMinionEventObserver we have to create a object in MinionEventObserverFactory to create observer.Xiang Fu