Class KafkaMessageConsumerFactory
Inheritance
System.Object
KafkaMessageConsumerFactory
Namespace: Volo.Abp.Kafka
Assembly: Volo.Abp.Kafka.dll
Syntax
public class KafkaMessageConsumerFactory : object, IKafkaMessageConsumerFactory, ISingletonDependency, IDisposable
Constructors
KafkaMessageConsumerFactory(IServiceScopeFactory)
Declaration
public KafkaMessageConsumerFactory(IServiceScopeFactory serviceScopeFactory)
Parameters
Type | Name | Description |
---|---|---|
IServiceScopeFactory | serviceScopeFactory |
Properties
ServiceScope
Declaration
protected IServiceScope ServiceScope { get; }
Property Value
Type | Description |
---|---|
IServiceScope |
Methods
Create(String, String, String)
Declaration
public IKafkaMessageConsumer Create(string topicName, string groupId, string connectionName = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | topicName | |
System.String | groupId | |
System.String | connectionName |
Returns
Type | Description |
---|---|
IKafkaMessageConsumer |
Dispose()
Declaration
public void Dispose()
Implements
ISingletonDependency
IDisposable