public class TaskServiceClients extends Object
ServiceClient instances that communicate to indexing service tasks.| Modifier and Type | Method and Description |
|---|---|
static ServiceClient |
makeClient(String taskId,
ServiceRetryPolicy baseRetryPolicy,
ServiceClientFactory serviceClientFactory,
OverlordClient overlordClient)
Makes a
ServiceClient linked to the provided task. |
public static ServiceClient makeClient(String taskId, ServiceRetryPolicy baseRetryPolicy, ServiceClientFactory serviceClientFactory, OverlordClient overlordClient)
ServiceClient linked 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>.Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.