├── .gitignore ├── .vscode ├── launch.json └── tasks.json ├── README.md ├── docker-compose.yml ├── dotnet-core-kafka.sln ├── img ├── customer_db.png ├── identity_db.png └── kafdrop.JPG └── src ├── Services.Customer ├── Controllers │ └── CustomersController.cs ├── Data │ ├── CustomerDBContext.cs │ ├── DbInitilializer.cs │ ├── Entity │ │ └── Customer.cs │ └── Migrations │ │ ├── 20200910204651_initial.Designer.cs │ │ ├── 20200910204651_initial.cs │ │ └── CustomerDBContextModelSnapshot.cs ├── Events │ └── Handlers │ │ └── UserCreatedHandler.cs ├── Messages │ └── User.cs ├── Program.cs ├── Properties │ └── launchSettings.json ├── README.md ├── Services.Customer.csproj ├── Startup.cs ├── appsettings.Development.json └── appsettings.json ├── Services.Identity ├── Commands │ ├── Handlers │ │ └── RegisterUserCommandHandler.cs │ └── RegisterUserCommand.cs ├── Controllers │ └── AccountsController.cs ├── Data │ ├── DbInitilializer.cs │ ├── Entity │ │ └── User.cs │ ├── IdentityDBContext.cs │ └── Migrations │ │ ├── 20200910205638_initial.Designer.cs │ │ ├── 20200910205638_initial.cs │ │ └── IdentityDBContextModelSnapshot.cs ├── Program.cs ├── Properties │ └── launchSettings.json ├── README.md ├── Services.Identity.csproj ├── Startup.cs ├── appsettings.Development.json └── appsettings.json └── Shared ├── Kafka ├── Consumer │ ├── BackGroundKafkaConsumer.cs │ ├── IKafkaHandler.cs │ └── KafkaConsumerConfig.cs ├── IKafkaMessageBus.cs ├── KafkaDeserializer.cs ├── KafkaMessageBus.cs ├── KafkaSerializer.cs ├── Producer │ ├── KafkaProducer.cs │ └── KafkaProducerConfig.cs └── RegisterServiceExtensions.cs └── Shared.csproj /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /dotnet-core-kafka.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/dotnet-core-kafka.sln -------------------------------------------------------------------------------- /img/customer_db.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/img/customer_db.png -------------------------------------------------------------------------------- /img/identity_db.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/img/identity_db.png -------------------------------------------------------------------------------- /img/kafdrop.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/img/kafdrop.JPG -------------------------------------------------------------------------------- /src/Services.Customer/Controllers/CustomersController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Customer/Controllers/CustomersController.cs -------------------------------------------------------------------------------- /src/Services.Customer/Data/CustomerDBContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Customer/Data/CustomerDBContext.cs -------------------------------------------------------------------------------- /src/Services.Customer/Data/DbInitilializer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Customer/Data/DbInitilializer.cs -------------------------------------------------------------------------------- /src/Services.Customer/Data/Entity/Customer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Customer/Data/Entity/Customer.cs -------------------------------------------------------------------------------- /src/Services.Customer/Data/Migrations/20200910204651_initial.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Customer/Data/Migrations/20200910204651_initial.Designer.cs -------------------------------------------------------------------------------- /src/Services.Customer/Data/Migrations/20200910204651_initial.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Customer/Data/Migrations/20200910204651_initial.cs -------------------------------------------------------------------------------- /src/Services.Customer/Data/Migrations/CustomerDBContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Customer/Data/Migrations/CustomerDBContextModelSnapshot.cs -------------------------------------------------------------------------------- /src/Services.Customer/Events/Handlers/UserCreatedHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Customer/Events/Handlers/UserCreatedHandler.cs -------------------------------------------------------------------------------- /src/Services.Customer/Messages/User.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Customer/Messages/User.cs -------------------------------------------------------------------------------- /src/Services.Customer/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Customer/Program.cs -------------------------------------------------------------------------------- /src/Services.Customer/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Customer/Properties/launchSettings.json -------------------------------------------------------------------------------- /src/Services.Customer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Customer/README.md -------------------------------------------------------------------------------- /src/Services.Customer/Services.Customer.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Customer/Services.Customer.csproj -------------------------------------------------------------------------------- /src/Services.Customer/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Customer/Startup.cs -------------------------------------------------------------------------------- /src/Services.Customer/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Customer/appsettings.Development.json -------------------------------------------------------------------------------- /src/Services.Customer/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Customer/appsettings.json -------------------------------------------------------------------------------- /src/Services.Identity/Commands/Handlers/RegisterUserCommandHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Identity/Commands/Handlers/RegisterUserCommandHandler.cs -------------------------------------------------------------------------------- /src/Services.Identity/Commands/RegisterUserCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Identity/Commands/RegisterUserCommand.cs -------------------------------------------------------------------------------- /src/Services.Identity/Controllers/AccountsController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Identity/Controllers/AccountsController.cs -------------------------------------------------------------------------------- /src/Services.Identity/Data/DbInitilializer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Identity/Data/DbInitilializer.cs -------------------------------------------------------------------------------- /src/Services.Identity/Data/Entity/User.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Identity/Data/Entity/User.cs -------------------------------------------------------------------------------- /src/Services.Identity/Data/IdentityDBContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Identity/Data/IdentityDBContext.cs -------------------------------------------------------------------------------- /src/Services.Identity/Data/Migrations/20200910205638_initial.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Identity/Data/Migrations/20200910205638_initial.Designer.cs -------------------------------------------------------------------------------- /src/Services.Identity/Data/Migrations/20200910205638_initial.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Identity/Data/Migrations/20200910205638_initial.cs -------------------------------------------------------------------------------- /src/Services.Identity/Data/Migrations/IdentityDBContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Identity/Data/Migrations/IdentityDBContextModelSnapshot.cs -------------------------------------------------------------------------------- /src/Services.Identity/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Identity/Program.cs -------------------------------------------------------------------------------- /src/Services.Identity/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Identity/Properties/launchSettings.json -------------------------------------------------------------------------------- /src/Services.Identity/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Identity/README.md -------------------------------------------------------------------------------- /src/Services.Identity/Services.Identity.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Identity/Services.Identity.csproj -------------------------------------------------------------------------------- /src/Services.Identity/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Identity/Startup.cs -------------------------------------------------------------------------------- /src/Services.Identity/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Identity/appsettings.Development.json -------------------------------------------------------------------------------- /src/Services.Identity/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Services.Identity/appsettings.json -------------------------------------------------------------------------------- /src/Shared/Kafka/Consumer/BackGroundKafkaConsumer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Shared/Kafka/Consumer/BackGroundKafkaConsumer.cs -------------------------------------------------------------------------------- /src/Shared/Kafka/Consumer/IKafkaHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Shared/Kafka/Consumer/IKafkaHandler.cs -------------------------------------------------------------------------------- /src/Shared/Kafka/Consumer/KafkaConsumerConfig.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Shared/Kafka/Consumer/KafkaConsumerConfig.cs -------------------------------------------------------------------------------- /src/Shared/Kafka/IKafkaMessageBus.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Shared/Kafka/IKafkaMessageBus.cs -------------------------------------------------------------------------------- /src/Shared/Kafka/KafkaDeserializer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Shared/Kafka/KafkaDeserializer.cs -------------------------------------------------------------------------------- /src/Shared/Kafka/KafkaMessageBus.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Shared/Kafka/KafkaMessageBus.cs -------------------------------------------------------------------------------- /src/Shared/Kafka/KafkaSerializer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Shared/Kafka/KafkaSerializer.cs -------------------------------------------------------------------------------- /src/Shared/Kafka/Producer/KafkaProducer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Shared/Kafka/Producer/KafkaProducer.cs -------------------------------------------------------------------------------- /src/Shared/Kafka/Producer/KafkaProducerConfig.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Shared/Kafka/Producer/KafkaProducerConfig.cs -------------------------------------------------------------------------------- /src/Shared/Kafka/RegisterServiceExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Shared/Kafka/RegisterServiceExtensions.cs -------------------------------------------------------------------------------- /src/Shared/Shared.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suadev/dotnet-core-microservices-kafka/HEAD/src/Shared/Shared.csproj --------------------------------------------------------------------------------