Skip to content

Commit 6f3dd7b

Browse files
committed
minor bad changes
1 parent c272263 commit 6f3dd7b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

OutdoorzSocial.Business/Kafka/KafkaConsumerService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public KafkaConsumerService(IServiceScopeFactory scopeFactory)
2121
var cfg = new ConsumerConfig
2222
{
2323
ClientId = "outdoorz-social-client",
24-
BootstrapServers = "localhost:29092",
24+
BootstrapServers = "kafka:9092",
2525
GroupId = "outdoorz-social-group",
2626
AutoOffsetReset = AutoOffsetReset.Earliest
2727
};

OutdoorzSocial.Business/Kafka/KafkaProducerService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public KafkaProducerService(IServiceScopeFactory scopeFactory)
1919

2020
var config = new ProducerConfig
2121
{
22-
BootstrapServers = "localhost:29092",
22+
BootstrapServers = "kafka:9092",
2323
Acks = Acks.All
2424
};
2525
_producer = new ProducerBuilder<Null, string>(config).Build();

OutdoorzSocial.WebApi/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
var key = jwt["Key"];
2727

2828
builder.Configuration["ConnectionStrings:DefaultConnection"] =
29-
$"Server=localhost,11433;Database=OutdoorzSocial;User Id=sa;" +
29+
$"Server=db-social,1433;Database=OutdoorzSocial;User Id=sa;" +
3030
$"Password={Environment.GetEnvironmentVariable("DB_PASSWORD")};" +
3131
"Encrypt=False;MultipleActiveResultSets=True;";
3232

0 commit comments

Comments
 (0)