Interface IKafkaCluster
- Namespace
- MASES.EntityFrameworkCore.KNet.Storage.Internal
- Assembly
- MASES.EntityFrameworkCore.KNet.dll
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public interface IKafkaCluster : IDisposable
- Inherited Members
Properties
ClusterId
The Apche Kafka cluster identifier
string ClusterId { get; }
Property Value
Options
KafkaOptionsExtension Options { get; }
Property Value
Methods
CreateTopicForEntity(IEntityType)
Creates a topic for IEntityType on Apache Kafka cluster
string CreateTopicForEntity(IEntityType entityType)
Parameters
entityTypeIEntityType
Returns
EnsureConnected(IModel, IDiagnosticsLogger<Update>)
Execute the EnsureDatabaseConnected()
bool EnsureConnected(IModel designModel, IDiagnosticsLogger<DbLoggerCategory.Update> updateLogger)
Parameters
designModelIModelupdateLoggerIDiagnosticsLogger<DbLoggerCategory.Update>
Returns
EnsureCreated(IUpdateAdapterFactory, IModel, IDiagnosticsLogger<Update>)
Execute the EnsureDatabaseCreated()
bool EnsureCreated(IUpdateAdapterFactory updateAdapterFactory, IModel designModel, IDiagnosticsLogger<DbLoggerCategory.Update> updateLogger)
Parameters
updateAdapterFactoryIUpdateAdapterFactorydesignModelIModelupdateLoggerIDiagnosticsLogger<DbLoggerCategory.Update>
Returns
EnsureDeleted(IUpdateAdapterFactory, IModel, IDiagnosticsLogger<Update>)
Execute the EnsureDatabaseDeleted()
bool EnsureDeleted(IUpdateAdapterFactory updateAdapterFactory, IModel designModel, IDiagnosticsLogger<DbLoggerCategory.Update> updateLogger)
Parameters
updateAdapterFactoryIUpdateAdapterFactorydesignModelIModelupdateLoggerIDiagnosticsLogger<DbLoggerCategory.Update>
Returns
ExecuteTransaction(IList<IUpdateEntry>, IDiagnosticsLogger<Update>)
Executes a transaction
int ExecuteTransaction(IList<IUpdateEntry> entries, IDiagnosticsLogger<DbLoggerCategory.Update> updateLogger)
Parameters
entriesIList<IUpdateEntry>updateLoggerIDiagnosticsLogger<DbLoggerCategory.Update>
Returns
GetIntegerValueGenerator<TProperty>(IProperty)
Gets the KafkaIntegerValueGenerator<TValue>
KafkaIntegerValueGenerator<TProperty> GetIntegerValueGenerator<TProperty>(IProperty property)
Parameters
propertyIProperty
Returns
- KafkaIntegerValueGenerator<TProperty>
Type Parameters
TProperty
GetValueBuffers(IEntityType)
Retrieve the ValueBuffer
IEnumerable<ValueBuffer> GetValueBuffers(IEntityType entityType)
Parameters
entityTypeIEntityType