13 lines
504 B
C#
13 lines
504 B
C#
public class KafkaOptions
|
|
{
|
|
public const string Section = "Kafka";
|
|
public string BootstrapServers { get; set; } = null!;
|
|
public KafkaTopicOptions Topics { get; set; } = null!;
|
|
public int NumPartitions { get; set; } = 6;
|
|
public short ReplicationFactor { get; set; } = 3;
|
|
public int OutboxBatchSize { get; set; } = 100;
|
|
public int OutboxPollIntervalMs { get; set; } = 500;
|
|
public int OutboxMaxRetries { get; set; } = 10;
|
|
public int MaxPoisonRetries { get; set; } = 5;
|
|
}
|