Package org.apache.kafka.clients.admin
Class AlterConsumerGroupOffsetsResult
- java.lang.Object
-
- org.apache.kafka.clients.admin.AlterConsumerGroupOffsetsResult
-
@Evolving public class AlterConsumerGroupOffsetsResult extends Object
The result of theAdmin.alterConsumerGroupOffsets(String, Map)
call. The API of this class is evolving, seeAdminClient
for details.
-
-
Constructor Summary
Constructors Constructor Description AlterConsumerGroupOffsetsResult(KafkaFuture<Map<TopicPartition,org.apache.kafka.common.protocol.Errors>> future)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KafkaFuture<Void>
all()
Return a future which succeeds if all the alter offsets succeed.KafkaFuture<Void>
partitionResult(TopicPartition partition)
Return a future which can be used to check the result for a given partition.
-
-
-
Constructor Detail
-
AlterConsumerGroupOffsetsResult
public AlterConsumerGroupOffsetsResult(KafkaFuture<Map<TopicPartition,org.apache.kafka.common.protocol.Errors>> future)
-
-
Method Detail
-
partitionResult
public KafkaFuture<Void> partitionResult(TopicPartition partition)
Return a future which can be used to check the result for a given partition.
-
all
public KafkaFuture<Void> all()
Return a future which succeeds if all the alter offsets succeed.
-
-