akshayrai opened a new pull request #4250: SoC - Separate out Tuning from Translator URL: https://github.com/apache/incubator-pinot/pull/4250 Currently tuning is tied together with the translator. Each time we need to tune the detection, we have to call the translator which tries to re-convert the yaml config to detection object. This PR separates the tuner from the translator so that it can be triggered directly on the detection object. Changes: * Introduced ConfigTranslator interface for detection and subscription * Enforce validation of raw and parsed config through interface (`template-pattern`) * Moved out tuning related code under `DetectionConfigTuner` * Move translator specific code under translator package * Remove `YamlTranslationResult`; Cleaned up buildMetricUrn; Consistently use `componentKey` throughout instead of `componentName` * Added and updated unit tests
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
