public class KafkaOffsetLagUtil extends Object
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
newKafkaSpoutOffsetQuery
- represents the information needed to query kafka for log head and spout offsetsException
Copyright © 2023 The Apache Software Foundation. All rights reserved.