rohangarg commented on PR #12948: URL: https://github.com/apache/druid/pull/12948#issuecomment-1225806457
Thanks for the explanation! > Now you can have multiple such namespaces on the same JVM. That means each "choice" has a custom prefix with the name of the extension. Can we provide a named annotated choice to `PolyBind` using something like you've used in test (`Key.get(StorageConnectorProvider.class, Names.named(CUSTOM_NAMESPACE))`)? Then for each `(property, extension)` pair, the PolyBind will have different choices where the `property` is passed in the `createChoice` method as is and the `extension` is passed as a part of the `Key` object for `interfaceKey` parameter. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
