https://github.com/virtyaluk/dotnetcore-kafka
Getting started with .NET Core and Kafka.
https://github.com/virtyaluk/dotnetcore-kafka
docker docker-compose dotnet dotnetcore kafka zookeeper
Last synced: about 1 year ago
JSON representation
Getting started with .NET Core and Kafka.
- Host: GitHub
- URL: https://github.com/virtyaluk/dotnetcore-kafka
- Owner: virtyaluk
- License: mit
- Created: 2018-10-29T22:30:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-30T00:40:18.000Z (over 7 years ago)
- Last Synced: 2025-05-05T20:19:58.429Z (about 1 year ago)
- Topics: docker, docker-compose, dotnet, dotnetcore, kafka, zookeeper
- Language: C#
- Homepage:
- Size: 6.84 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Getting started with .NET Core and Kafka
This repo contains the code samples for the [Getting started with .NET Core and Kafka](https://www.hugopicado.com/2017/11/22/getting-started-with-net-core-and-kafka.html) tutorial.
## :dvd: Setup
Have [Docker :whale2:](https://docs.docker.com/install/) and [.NET Core](https://www.microsoft.com/net/download) installed.
From the root of the project run following:
```sh
docker-compose up --build
```
then in the producer project:
```sh
cd KafkaProducer/
dotnet restore
dotnet build -c Release
dotnet bin/Release/netcoreapp2.1/KafkaProducer.dll
```
and in the consumer project:
```sh
cd KafkaConsumer/
dotnet restore
dotnet build -c Release
dotnet bin/Release/netcoreapp2.1/KafkaConsumer.dll
```
## :green_book: License
[Licensed under the MIT license.](https://github.com/virtyaluk/dotnetcore-kafka/blob/master/LICENSE)
Copyright (c) 2018 Bohdan Shtepan
---
> [modern-dev.com](http://modern-dev.com) ·
> GitHub [@virtyaluk](https://github.com/virtyaluk) ·
> Twitter [@virtyaluk](https://twitter.com/virtyaluk)