Package org.apache.druid.rpc.indexing
Class TaskServiceClients
- java.lang.Object
-
- org.apache.druid.rpc.indexing.TaskServiceClients
-
public class TaskServiceClients extends Object
Utility function for creatingServiceClientinstances that communicate to indexing service tasks.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServiceClientmakeClient(String taskId, ServiceRetryPolicy baseRetryPolicy, ServiceClientFactory serviceClientFactory, OverlordClient overlordClient)Makes aServiceClientlinked to the provided task.
-
-
-
Method Detail
-
makeClient
public static ServiceClient makeClient(String taskId, ServiceRetryPolicy baseRetryPolicy, ServiceClientFactory serviceClientFactory, OverlordClient overlordClient)
Makes aServiceClientlinked to the provided task. The client's base path comes pre-set to the chat handler resource of the task:/druid/worker/v1/chat/<taskId>.
-
-