File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
OutdoorzSocial.Business/Kafka Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff 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 } ;
Original file line number Diff line number Diff 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 ( ) ;
Original file line number Diff line number Diff line change 2626var key = jwt [ "Key" ] ;
2727
2828builder . 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
You can’t perform that action at this time.
0 commit comments