Package org.apache.kafka.clients.admin
Class ListShareGroupOffsetsSpec
java.lang.Object
org.apache.kafka.clients.admin.ListShareGroupOffsetsSpec
Specification of share group offsets to list using
Admin.listShareGroupOffsets(Map, ListShareGroupOffsetsOptions)
.
The API of this class is evolving, see Admin
for details.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
Returns the topic partitions whose offsets are to be listed for a share group.topicPartitions
(Collection<TopicPartition> topicPartitions) Set the topic partitions whose offsets are to be listed for a share group.toString()
-
Constructor Details
-
ListShareGroupOffsetsSpec
public ListShareGroupOffsetsSpec()
-
-
Method Details
-
topicPartitions
Set the topic partitions whose offsets are to be listed for a share group.- Parameters:
topicPartitions
- List of topic partitions to include
-
topicPartitions
Returns the topic partitions whose offsets are to be listed for a share group.null
indicates that offsets of all partitions of the group are to be listed. -
equals
-
hashCode
public int hashCode() -
toString
-