run test on phase 24 and 33

This commit is contained in:
voltsrage
2026-06-24 04:35:15 +08:00
parent 68c397350b
commit 279add1e45
45 changed files with 732 additions and 99 deletions
@@ -38,8 +38,9 @@ public sealed class NotificationPublisherService : BackgroundService
var consumerConfig = new ConsumerConfig
{
BootstrapServers = _kafkaOptions.BootstrapServers,
GroupId = "notification-publisher",
AutoOffsetReset = AutoOffsetReset.Earliest,
GroupId = _kafkaOptions.NotificationPublisherGroupId,
AutoOffsetReset = Enum.Parse<AutoOffsetReset>(
_kafkaOptions.NotificationPublisherAutoOffsetReset, ignoreCase: true),
EnableAutoCommit = false,
};
@@ -163,13 +164,6 @@ public sealed class NotificationPublisherService : BackgroundService
private IConnectionFactory BuildRabbitFactory()
{
var o = _rabbitOpts.Value;
return new ConnectionFactory
{
HostName = o.Host,
Port = o.Port,
UserName = o.Username,
Password = o.Password,
DispatchConsumersAsync = true,
};
return RabbitMqConnectionFactory.Create(o, dispatchConsumersAsync: true);
}
}