From 2000b4bbbc3186b41e3955d79f8af2f433128d62 Mon Sep 17 00:00:00 2001 From: Eric Erhardt Date: Thu, 1 Feb 2024 20:02:04 -0600 Subject: [PATCH] Fix Kafka Integration tests (#2038) These connections were renamed in #1540, but were missed here. --- tests/testproject/TestProject.IntegrationServiceA/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testproject/TestProject.IntegrationServiceA/Program.cs b/tests/testproject/TestProject.IntegrationServiceA/Program.cs index d17308a339..6414722d2f 100644 --- a/tests/testproject/TestProject.IntegrationServiceA/Program.cs +++ b/tests/testproject/TestProject.IntegrationServiceA/Program.cs @@ -10,8 +10,8 @@ builder.AddRabbitMQ("rabbitmq"); builder.AddMongoDBClient("mymongodb"); builder.AddOracleDatabaseDbContext("freepdb1"); -builder.AddKafkaProducer("kafkacontainer"); -builder.AddKafkaConsumer("kafkacontainer", consumerBuilder => +builder.AddKafkaProducer("kafka"); +builder.AddKafkaConsumer("kafka", consumerBuilder => { consumerBuilder.Config.GroupId = "aspire-consumer-group"; consumerBuilder.Config.AutoOffsetReset = AutoOffsetReset.Earliest;