Class NewKafkaSpoutOffsetQuery


  • public class NewKafkaSpoutOffsetQuery
    extends Object
    Class representing information for querying kafka for log head offsets, consumer offsets and the difference for new kafka spout using new consumer api.
    • Constructor Detail

      • NewKafkaSpoutOffsetQuery

        public NewKafkaSpoutOffsetQuery​(String topics,
                                        String bootstrapBrokers,
                                        String consumerGroupId,
                                        String securityProtocol,
                                        String saslMechanism,
                                        String consumerPropertiesFileName)
    • Method Detail

      • getTopics

        public String getTopics()
      • getBootStrapBrokers

        public String getBootStrapBrokers()
      • getConsumerGroupId

        public String getConsumerGroupId()
      • getSecurityProtocol

        public String getSecurityProtocol()
      • getSaslMechanism

        public String getSaslMechanism()
      • getConsumerPropertiesFileName

        public String getConsumerPropertiesFileName()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object