Interface IMockedKafkaOptions
Stores the mocked Kafka configuration.
Namespace: Silverback.Messaging.Configuration.Kafka
Assembly: Silverback.Integration.Kafka.Testing.dll
Syntax
public interface IMockedKafkaOptions
Properties
| Improve this doc View sourceDefaultPartitionsCount
Gets or sets the default number of partitions to be created per each topic. The default is 5.
Declaration
int DefaultPartitionsCount { get; set; }
Property Value
Type | Description |
---|---|
int |
OverriddenAutoCommitIntervalMs
Gets or sets the value to be used instead of the default 5 seconds or the
configured"ConfluentConsumerConfigProxy.AutoCommitIntervalMs" /> for the inbound topics. Set it to
null
to disable the feature. The default is 50 milliseconds.
Declaration
int? OverriddenAutoCommitIntervalMs { get; set; }
Property Value
Type | Description |
---|---|
int? |
PartitionsAssignmentDelay
Gets or sets the delay to be applied before and assigning the partitions.
Declaration
TimeSpan PartitionsAssignmentDelay { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |