kfaraz commented on code in PR #18194:
URL: https://github.com/apache/druid/pull/18194#discussion_r2182092494


##########
services/src/test/java/org/apache/druid/testing/embedded/EmbeddedResource.java:
##########
@@ -38,4 +38,14 @@ public interface EmbeddedResource
    * Cleans up this resource.
    */
   void stop() throws Exception;
+
+  /**
+   * Configures a cluster to use this resource. This method executes after the 
resource has
+   * been started. It is intended for use by resources that are started before 
any Druid
+   * services.
+   */
+  default void configureCluster(EmbeddedDruidCluster cluster)

Review Comment:
   In fact, maybe the `onAddedToCluster` method can also be moved to the 
`EmbeddedResource` itself.



-- 
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]

Reply via email to