uds5501 commented on code in PR #18192:
URL: https://github.com/apache/druid/pull/18192#discussion_r2181694889
##########
server/src/main/java/org/apache/druid/client/coordinator/CoordinatorClient.java:
##########
@@ -101,4 +103,13 @@ public interface CoordinatorClient
* API: {@code POST /druid/coordinator/v1/config}
*/
ListenableFuture<Void>
updateCoordinatorDynamicConfig(CoordinatorDynamicConfig dynamicConfig);
+
+ /**
+ * Gets the lookup configuration for a tier.
+ * <p>
+ * API: {@code GET /druid/coordinator/v1/lookups/config/<tier>}
+ *
+ * @param tier The name of the tier for which the lookup configuration is to
be fetched.
+ */
+ ListenableFuture<Map<String, LookupExtractorFactoryContainer>>
fetchLookupsForTier(String tier);
Review Comment:
makes sense, I was planning to do that however i wondered if it makes sense
to make everything async to maintain consistency in the client (thought it'll
server no purpose)
changing the signature for now
--
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]