Class WorkerUrlBuilder

java.lang.Object
com.illumon.iris.controller.WorkerUrlBuilder

public class WorkerUrlBuilder extends Object
Produce the urls that we need to connect to workers based on Envoy and SSL settings. Shared between the web server and controller.
  • Constructor Details

    • WorkerUrlBuilder

      public WorkerUrlBuilder()
  • Method Details

    • makeEnterpriseWebSocketUrl

      @NotNull public static String makeEnterpriseWebSocketUrl(QueryProcessorConnectionDetails connectionDetails)
      Parameters:
      connectionDetails - connection details for an Enterprise query processor
      Returns:
      the URL the web UI uses to connect to this query processor
    • makeCommunityUrl

      @NotNull public static String makeCommunityUrl(QueryProcessorConnectionDetails connectionDetails, boolean allowPathPrefix)
      Parameters:
      connectionDetails - connection details for a Community worker
      allowPathPrefix - true for static route, false for gRPC
      Returns:
      the URL the web UI uses to connect to the worker