Package org.apache.kafka.clients.admin
Class FenceProducersResult
java.lang.Object
org.apache.kafka.clients.admin.FenceProducersResult
The result of the
Admin.fenceProducers(Collection)
call.
The API of this class is evolving, see Admin
for details.-
Method Summary
Modifier and TypeMethodDescriptionall()
Return a future which succeeds only if all the producer fencings succeed.Returns a future that provides the epoch ID generated while initializing the given transaction when the request completes.Return a map from transactional ID to futures which can be used to check the status of individual fencings.producerId
(String transactionalId) Returns a future that provides the producer ID generated while initializing the given transaction when the request completes.
-
Method Details
-
fencedProducers
Return a map from transactional ID to futures which can be used to check the status of individual fencings. -
producerId
Returns a future that provides the producer ID generated while initializing the given transaction when the request completes. -
epochId
Returns a future that provides the epoch ID generated while initializing the given transaction when the request completes. -
all
Return a future which succeeds only if all the producer fencings succeed.
-