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 Type
    Method
    Description
    acquireSuffix(String txIdPrefix)
    Acquire the suffix for the transactional producer.
    void
    releaseSuffix(String txIdPrefix, String suffix)
    Release the suffix for the transactional producer.
  • Method Details

    • acquireSuffix

      String acquireSuffix(String txIdPrefix)
      Acquire the suffix for the transactional producer.
      Parameters:
      txIdPrefix - the transaction id prefix.
      Returns:
      the suffix.
    • releaseSuffix

      void releaseSuffix(String txIdPrefix, String suffix)
      Release the suffix for the transactional producer.
      Parameters:
      txIdPrefix - the transaction id prefix.
      suffix - the suffix.