public class OldKafkaSpoutOffsetQuery extends Object
Class representing information for querying kafka for log head offsets, spout offsets and the difference for old kafka spout
Constructor and Description |
---|
OldKafkaSpoutOffsetQuery(String topic,
String zkServers,
String zkPath,
boolean isWildCardTopic,
String brokersZkPath) |
OldKafkaSpoutOffsetQuery(String topic,
String zkServers,
String zkPath,
String partitions,
String leaders) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getBrokersZkPath() |
String |
getLeaders() |
String |
getPartitions() |
String |
getTopic() |
String |
getZkPath() |
String |
getZkServers() |
int |
hashCode() |
boolean |
isWildCardTopic() |
String |
toString() |
public OldKafkaSpoutOffsetQuery(String topic, String zkServers, String zkPath, boolean isWildCardTopic, String brokersZkPath)
public String getTopic()
public String getZkServers()
public String getZkPath()
public boolean isWildCardTopic()
public String getBrokersZkPath()
public String getPartitions()
public String getLeaders()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.