public final class HttpSplitChangeFetcher extends Object implements SplitChangeFetcher
| Modifier and Type | Method and Description |
|---|---|
static HttpSplitChangeFetcher |
create(org.apache.hc.client5.http.impl.classic.CloseableHttpClient client,
URI root,
TelemetryRuntimeProducer telemetryRuntimeProducer) |
SplitChange |
fetch(long since,
FetchOptions options)
The returned list should contain AT MOST one split
per name.
|
public static HttpSplitChangeFetcher create(org.apache.hc.client5.http.impl.classic.CloseableHttpClient client, URI root, TelemetryRuntimeProducer telemetryRuntimeProducer) throws URISyntaxException
URISyntaxExceptionpublic SplitChange fetch(long since, FetchOptions options)
SplitChangeFetcherfetch in interface SplitChangeFetchersince - a value less than zero implies that the client is
requesting information on partitions for the first time.Copyright © 2021. All rights reserved.