public interface TransactionalIdResolver extends Resolver
resolveTransactionalId(String) (String)}. The reverse is
done through {link #unresolveTransactionId(String)}.DEFAULT_PREFIX| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
resolveTransactionalId(java.lang.String transactionalId)
Translates the internal representation of producer transaction id to the external one.
|
default java.util.Set<java.lang.String> |
resolveTransactionalIds(java.util.Collection<java.lang.String> transactionalIds)
Translates a collection of txn ids using the internal format to a collection of txn ids
using the external format
|
java.lang.String |
unresolveTransactionalId(java.lang.String transactionalId)
Translates the external representation of producer transaction id to the internal one.
|
default java.util.Set<java.lang.String> |
unresolveTransactionalIds(java.util.Collection<java.lang.String> transactionalIds)
Translates a collection of transaction ids using the external format to a collection of transactionIds
using the internal format
|
configure, getNameFromContext, resolve, unresolve, unresolveContextjava.lang.String resolveTransactionalId(java.lang.String transactionalId)
transactionalId - the internal producer transaction iddefault java.util.Set<java.lang.String> resolveTransactionalIds(java.util.Collection<java.lang.String> transactionalIds)
transactionalIds - the internal producer txn ids to resolvejava.lang.String unresolveTransactionalId(java.lang.String transactionalId)
transactionalId - the external producer transaction iddefault java.util.Set<java.lang.String> unresolveTransactionalIds(java.util.Collection<java.lang.String> transactionalIds)
transactionalIds - the external producer transaction ids to resolveCopyright © 2020–2022 Axual B.V.. All rights reserved.