dongxiaoman edited a comment on pull request #8193: URL: https://github.com/apache/pinot/pull/8193#issuecomment-1039359232
> @richardstartin the discovery is only tried on the class written in `META-INF/hk2-locator/default` file. In my example the file contains `[org.apache.pinot.broker.write.api.context.WriteApiContextProvider]S`. The file is written automatically for the class tagged with `@service` tag.Based on code reading, it reads from that file and try to load it. There is no "scan blindly" in place, so it should be a fixed small cost. Strictly speaking, this feature is not "AutoDiscovery", it is something "Loading-In-RunTime-with-Specified-Class-Name-in Resource" -- 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. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org