28 references to Config
Aspire.Confluent.Kafka (12)
AspireKafkaConsumerExtensions.cs (7)
189
? new(serviceProvider.GetRequiredService<InstrumentedConsumerBuilder<TKey, TValue>>(), settings.
Config
)
191
settings.
Config
);
198
InstrumentedConsumerBuilder<TKey, TValue> builder = new(settings.
Config
);
250
configSection.GetSection(nameof(KafkaConsumerSettings.
Config
)).Bind(settings.
Config
);
251
namedConfigSection.GetSection(nameof(KafkaConsumerSettings.
Config
)).Bind(settings.
Config
);
KafkaConsumerSettings.cs (5)
50
Debug.Assert(
Config
is not null);
54
Config
.BootstrapServers = ConnectionString;
59
Config
.StatisticsIntervalMs ??= 1000;
65
if (
Config
.BootstrapServers is null)
70
if (
Config
.GroupId is null)
Aspire.Confluent.Kafka.Tests (12)
OtelMetricsTests.cs (6)
45
settings.
Config
.GroupId = "unused";
46
settings.
Config
.EnablePartitionEof = true;
47
settings.
Config
.AutoOffsetReset = AutoOffsetReset.Earliest;
55
settings.
Config
.GroupId = "unused";
56
settings.
Config
.EnablePartitionEof = true;
57
settings.
Config
.AutoOffsetReset = AutoOffsetReset.Earliest;
OtelTracesTests.cs (6)
47
settings.
Config
.GroupId = "unused";
48
settings.
Config
.EnablePartitionEof = true;
49
settings.
Config
.AutoOffsetReset = AutoOffsetReset.Earliest;
57
settings.
Config
.GroupId = "unused";
58
settings.
Config
.EnablePartitionEof = true;
59
settings.
Config
.AutoOffsetReset = AutoOffsetReset.Earliest;
Aspire.Hosting.Kafka.Tests (4)
KafkaFunctionalTests.cs (4)
81
consumerBuilder.
Config
.GroupId = "aspire-consumer-group";
82
consumerBuilder.
Config
.AutoOffsetReset = AutoOffsetReset.Earliest;
225
consumerBuilder.
Config
.GroupId = "aspire-consumer-group";
226
consumerBuilder.
Config
.AutoOffsetReset = AutoOffsetReset.Earliest;