An open API service indexing awesome lists of open source software.

https://github.com/dennisshevtsov/kafka-sample

The project shows how to use Kafka in a ASP.NET application.
https://github.com/dennisshevtsov/kafka-sample

asp-net asp-net-core aspnet-core aspnetcore background-service docker docker-compose dotnet dotnet-core kafka kafka-consumer kafka-producer

Last synced: 6 months ago
JSON representation

The project shows how to use Kafka in a ASP.NET application.

Awesome Lists containing this project

README

          

# kafka-sample

The project contains 2 simple samples. They are the producer sample and the consumer sample. They show how to use Kafka in a ASP.NET application.

There are all required configured services in the [docker-compose.yml](docker-compose.yml). Run `docker-compose up -d` in the root folder and it creates the services in your Docker, or just use Visual Studio. To check that messages are sending and receiving, use the log console in Docker or Visual Studio, or go to Kafka console [http://localhost:5003](http://localhost:5003).