| Constructor and Description |
|---|
AdaptableIntervalThrottler() |
AdaptableIntervalThrottler(Function<Map<String,?>,AdaptableIntervalThrottlerConfig> configFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Map<String,?> settings) |
void |
throttle(Offset offset) |
public AdaptableIntervalThrottler()
public AdaptableIntervalThrottler(Function<Map<String,?>,AdaptableIntervalThrottlerConfig> configFactory)
public void configure(Map<String,?> settings)
configure in interface org.apache.kafka.common.Configurablepublic void throttle(Offset offset) throws InterruptedException
throttle in interface ThrottlerInterruptedExceptionCopyright © 2020 CastorM. All rights reserved.