|
@@ -29,7 +29,7 @@ namespace Sample.Kafka |
|
|
{ |
|
|
{ |
|
|
x.UseEntityFramework<AppDbContext>(); |
|
|
x.UseEntityFramework<AppDbContext>(); |
|
|
//x.UseSqlServer("Server=DESKTOP-M9R8T31;Initial Catalog=Test;User Id=sa;Password=P@ssw0rd;MultipleActiveResultSets=True"); |
|
|
//x.UseSqlServer("Server=DESKTOP-M9R8T31;Initial Catalog=Test;User Id=sa;Password=P@ssw0rd;MultipleActiveResultSets=True"); |
|
|
x.UseRabbitMQ(o => { o.HostName = "192.168.2.206"; o.UserName = "admin"; o.Password = "123123"; }); |
|
|
|
|
|
|
|
|
x.UseKafka("localhost:9092"); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
// Add framework services. |
|
|
// Add framework services. |
|
|