Package org.springframework.kafka.core
Interface TransactionIdSuffixStrategy
- All Known Implementing Classes:
DefaultTransactionIdSuffixStrategy
public interface TransactionIdSuffixStrategy
The strategy for managing transactional producer suffixes.
- Since:
- 3.2
- Author:
- Ilya Starchenko
-
Method Summary
Modifier and TypeMethodDescriptionacquireSuffix(String txIdPrefix) Acquire the suffix for the transactional producer.voidreleaseSuffix(String txIdPrefix, String suffix) Release the suffix for the transactional producer.
-
Method Details
-
acquireSuffix
Acquire the suffix for the transactional producer.- Parameters:
txIdPrefix- the transaction id prefix.- Returns:
- the suffix.
-
releaseSuffix
Release the suffix for the transactional producer.- Parameters:
txIdPrefix- the transaction id prefix.suffix- the suffix.
-