Step by step: Kafka Pub/Sub with Docker and .Net Core

Last week I attended to a Kafka workshop and this is my attempt to show you a simple Step by step: Kafka Pub/Sub with Docker and .Net Core tutorial.

Let’s start:

1. Create a folder for your new project
2. Create a console project
3. Add the Confluent.Kafka nuget package
4. Replace the contents of Program.cs
5. Start Kafka with Docker
6. Run the program

Get the code and related files here: https://github.com/cmendible/dotnetcore.samples/tree/master/kafka.pubsub.console

Hope it helps!

Leave a Reply

Your email address will not be published. Required fields are marked *