Interface IMockedKafkaOptions
- Namespace
- Silverback.Messaging.Configuration.Kafka
- Assembly
- Silverback.Integration.Kafka.Testing.dll
Stores the mocked Kafka configuration.
public interface IMockedKafkaOptions
Properties
DefaultPartitionsCount
Gets or sets the default number of partitions to be created per each topic. The default is 5.
int DefaultPartitionsCount { get; set; }
Property Value
OverriddenAutoCommitIntervalMs
Gets or sets the value to be used instead of the default 5 seconds or the configured AutoCommitIntervalMs
for the inbound topics. Set it to null to disable the feature. The default is 50 milliseconds.
int? OverriddenAutoCommitIntervalMs { get; set; }
Property Value
- int?
PartitionsAssignmentDelay
Gets or sets the delay to be applied before and assigning the partitions.
TimeSpan PartitionsAssignmentDelay { get; set; }
Property Value
TopicPartitionsCount
Gets the number of partitions created for the given topic. If not specified for a topic the DefaultPartitionsCount will be used.
IDictionary<string, int> TopicPartitionsCount { get; }