Class ListConsumerGroupOffsetsOptions

    • Constructor Detail

      • ListConsumerGroupOffsetsOptions

        public ListConsumerGroupOffsetsOptions()
    • Method Detail

      • topicPartitions

        public ListConsumerGroupOffsetsOptions topicPartitions​(java.util.List<TopicPartition> topicPartitions)
        Set the topic partitions to list as part of the result. null includes all topic partitions.
        Parameters:
        topicPartitions - List of topic partitions to include
        Returns:
        This ListGroupOffsetsOptions
      • topicPartitions

        public java.util.List<TopicPartition> topicPartitions()
        Returns a list of topic partitions to add as part of the result.