Class ConsumerGroupListing


  • public class ConsumerGroupListing
    extends Object
    A listing of a consumer group in the cluster.
    • Constructor Detail

      • ConsumerGroupListing

        public ConsumerGroupListing​(String groupId,
                                    boolean isSimpleConsumerGroup)
        Create an instance with the specified parameters.
        Parameters:
        groupId - Group Id
        isSimpleConsumerGroup - If consumer group is simple or not.
      • ConsumerGroupListing

        public ConsumerGroupListing​(String groupId,
                                    boolean isSimpleConsumerGroup,
                                    Optional<ConsumerGroupState> state)
        Create an instance with the specified parameters.
        Parameters:
        groupId - Group Id
        isSimpleConsumerGroup - If consumer group is simple or not.
        state - The state of the consumer group
    • Method Detail

      • groupId

        public String groupId()
        Consumer Group Id
      • isSimpleConsumerGroup

        public boolean isSimpleConsumerGroup()
        If Consumer Group is simple or not.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object