Table of Contents

Class ConfluentAdminClientFactory

Namespace
Silverback.Messaging.Broker.Kafka
Assembly
Silverback.Integration.Kafka.dll

Wraps the Confluent.Kafka.AdminClientBuilder.

public class ConfluentAdminClientFactory : ConfluentAdminClientFactoryBase, IConfluentAdminClientFactory
Inheritance
ConfluentAdminClientFactory
Implements
Inherited Members

Constructors

ConfluentAdminClientFactory(IProducerCollection, IConsumerCollection, ISilverbackLogger<ConfluentAdminClientFactory>)

Initializes a new instance of the ConfluentAdminClientFactory class.

public ConfluentAdminClientFactory(IProducerCollection producers, IConsumerCollection consumers, ISilverbackLogger<ConfluentAdminClientFactory> logger)

Parameters

producers IProducerCollection

The IProducerCollection.

consumers IConsumerCollection

The IConsumerCollection.

logger ISilverbackLogger<ConfluentAdminClientFactory>

The ISilverbackLogger.

Methods

GetClient(AdminClientConfig)

Returns an Confluent.Kafka.IAdminClient instance for the specified configuration.

public override IAdminClient GetClient(AdminClientConfig config)

Parameters

config AdminClientConfig

The client configuration.

Returns

IAdminClient

The Confluent.Kafka.IAdminClient.