Package org.apache.storm.kafka.monitor
Class KafkaOffsetLagResult
java.lang.Object
org.apache.storm.kafka.monitor.KafkaOffsetLagResult
- All Implemented Interfaces:
- net.minidev.json.JSONAware
Class representing the log head offsets, spout offsets and the lag for a topic.
- 
Constructor Details- 
KafkaOffsetLagResultpublic KafkaOffsetLagResult(String topic, int parition, long consumerCommittedOffset, long logHeadOffset) 
 
- 
- 
Method Details- 
getTopic
- 
getPartitionpublic int getPartition()
- 
getConsumerCommittedOffsetpublic long getConsumerCommittedOffset()
- 
getLogHeadOffsetpublic long getLogHeadOffset()
- 
getLagpublic long getLag()
- 
toString
- 
equals
- 
hashCodepublic int hashCode()
- 
toJSONString- Specified by:
- toJSONStringin interface- net.minidev.json.JSONAware
 
 
-