opensearch-sdk-java
opensearch-sdk-java copied to clipboard
[FEATURE] Implement ADTaskManager component
Is your feature request related to a problem?
ADTaskManager (part of AD create components) manages historical AD jobs. Unlike other AD components it is highly performance impacting and directly interacts with OpenSearch nodes. It is dependent on the HashRing.
What solution would you like?
This will probably require some functionality on the OpenSearch side to get the node-level details necessary to maintain performance. Having the extension understand the hash ring and directly coordinate with nodes may not be the best solution; it at least should have a design discussion.
Creation of the ADTaskManager has been handled by https://github.com/opensearch-project/opensearch-sdk-java/issues/499 for use in StartDetector for real-time analysis tasks, since Job Scheduler is only used to facilitate real-time analysis. Due to this, we have passed in the hashring as null until we add support for historical analysis.