Interface ITransactionalEntityTypeProducer
- Namespace
- MASES.EntityFrameworkCore.KNet.Storage.Internal
- Assembly
- MASES.EntityFrameworkCore.KNet.dll
Extends IEntityTypeProducer with Kafka transactional producer support. Implemented only by entity type producers that belong to a transaction group declared via KEFCoreTransactionalAttribute or HasKEFCoreTransactionGroup(EntityTypeBuilder, string).
public interface ITransactionalEntityTypeProducer : IEntityTypeProducer, IDisposable
- Inherited Members
Properties
TransactionGroup
The transaction group this producer belongs to.
string TransactionGroup { get; }
Property Value
Methods
AbortPendingOffsets()
Discards accumulated pending offsets after a Kafka transaction abort.
void AbortPendingOffsets()
CommitPendingOffsets()
Forwards accumulated pending offsets to IStreamsManager after a Kafka transaction commit.
void CommitPendingOffsets()