Table of Contents

Class KafkaCloudEventOptions

Namespace
Excalibur.Dispatch.Transport.Kafka
Assembly
Excalibur.Dispatch.Transport.Kafka.dll

Kafka-specific CloudEvent configuration options.

public sealed class KafkaCloudEventOptions
Inheritance
KafkaCloudEventOptions
Inherited Members
Extension Methods

Properties

AutoCreateTopics

Gets or sets a value indicating whether to auto-create topics if they don't exist.

public bool AutoCreateTopics { get; set; }

Property Value

bool

A value indicating whether to auto-create topics if they don't exist.

ConsumerGroupId

Gets or sets the consumer group ID for CloudEvent consumers.

public string? ConsumerGroupId { get; set; }

Property Value

string

The consumer group ID for CloudEvent consumers.

DefaultPartitionCount

Gets or sets the number of partitions to create for new topics.

public int DefaultPartitionCount { get; set; }

Property Value

int

The number of partitions to create for new topics.

DefaultReplicationFactor

Gets or sets the replication factor for new topics.

public short DefaultReplicationFactor { get; set; }

Property Value

short

The replication factor for new topics.

DefaultTopic

Gets or sets the default topic name for publishing CloudEvents.

public string? DefaultTopic { get; set; }

Property Value

string

The default topic name for publishing CloudEvents.

OffsetReset

Gets or sets the offset reset behavior for new consumer groups.

public KafkaOffsetReset OffsetReset { get; set; }

Property Value

KafkaOffsetReset

The offset reset behavior for new consumer groups.

PartitioningStrategy

Gets or sets the partitioning strategy for CloudEvents.

public KafkaPartitioningStrategy PartitioningStrategy { get; set; }

Property Value

KafkaPartitioningStrategy

The partitioning strategy for CloudEvents.

Producer

Gets or sets the producer settings for CloudEvent publishing.

public KafkaCloudEventProducerOptions Producer { get; set; }

Property Value

KafkaCloudEventProducerOptions

The producer settings for CloudEvent publishing.