Skip to main content

Definition

Assembly: CloudNimble.SimpleMessageBus.Core.dll Namespace: CloudNimble.SimpleMessageBus.Core Inheritance: System.Object

Syntax

Summary

Specifies the options required to leverage Apache Kafka as the SimpleMessageBus backing queue.

Constructors

.ctor

Creates a new instance with default values from KafkaConstants.

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

AuthenticationMode

The SASL authentication mechanism when using SASL protocols.

Syntax

Property Value

Type: CloudNimble.SimpleMessageBus.Core.KafkaAuthenticationMode

BrokerList

The Kafka broker list (e.g., “localhost:9092” or “broker1:9092,broker2:9092”).

Syntax

Property Value

Type: string

ConsumerGroup

The consumer group ID for message consumption.

Syntax

Property Value

Type: string

MaxBatchSize

Maximum number of messages to process in a batch. Default is 64.

Syntax

Property Value

Type: int

Password

SASL password for authentication.

Syntax

Property Value

Type: string

Protocol

The security protocol for broker communication.

Syntax

Property Value

Type: CloudNimble.SimpleMessageBus.Core.KafkaBrokerProtocol

SslCaLocation

Path to CA certificate file for SSL/TLS verification.

Syntax

Property Value

Type: string

TopicName

The name of the Kafka topic for messages.

Syntax

Property Value

Type: string

Username

SASL username for authentication.

Syntax

Property Value

Type: string

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?