Class KafkaTransportOptions
Configuration options for the Kafka transport adapter, aggregating all builder settings.
public sealed class KafkaTransportOptions
- Inheritance
-
KafkaTransportOptions
- Inherited Members
- Extension Methods
Remarks
This class serves as the central aggregation point for all Kafka transport configuration. It is populated by the IKafkaTransportBuilder fluent API and used during service registration.
Properties
BootstrapServers
Gets or sets the Kafka bootstrap servers (comma-separated list).
public string BootstrapServers { get; set; }
Property Value
- string
The bootstrap servers connection string (e.g., "localhost:9092").
Name
Gets or sets the name of this transport adapter instance.
public string? Name { get; set; }
Property Value
- string
The transport name for multi-transport routing. Default is "kafka".