public class KafkaOffsetLagUtil extends Object
Utility class for querying offset lag for kafka spout.
| Constructor and Description |
|---|
KafkaOffsetLagUtil() |
| Modifier and Type | Method and Description |
|---|---|
static List<KafkaOffsetLagResult> |
getOffsetLags(NewKafkaSpoutOffsetQuery newKafkaSpoutOffsetQuery)
Get offset lags.
|
static void |
main(String[] args) |
public static void main(String[] args)
public static List<KafkaOffsetLagResult> getOffsetLags(NewKafkaSpoutOffsetQuery newKafkaSpoutOffsetQuery) throws Exception
Get offset lags.
newKafkaSpoutOffsetQuery - represents the information needed to query kafka for log head and spout offsetsExceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.