Interface IKafkaTransaction
Represents a Kafka transaction.
Inherited Members
Namespace: Silverback.Messaging.Transactions
Assembly: Silverback.Integration.Kafka.dll
Syntax
public interface IKafkaTransaction : IDisposable
Properties
TransactionalIdSuffix
Gets the suffix to be appended to the configured transactional id.
Declaration
string? TransactionalIdSuffix { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
This is used to enable multiple transactions per producer configuration.
Methods
Abort()
Aborts the transaction.
Declaration
void Abort()
Commit()
Commits the transaction.
Declaration
void Commit()