Confluent.Kafka is a .NET client for Apache Kafka based on librdkafka.
Derived from Andreas Heider's rdkafka-dotnet.
developer preview
- Only limited testing was performed
- Minor API changes anticipated
- Feedback encouraged
developer preview
Reference the Confluent.Kafka NuGet package (version 0.9.2-preview).
To install Confluent.Kafka from within Visual Studio, run the following command in the Package Manager Console:
Install-Package Confluent.Kafka -Pre -Version 0.9.2-preview
To reference in a dotnet core project, add "Confluent.Kafka": "0.9.2-preview"
to the dependencies section of the project.json file.
Take a look in the examples directory. The integration tests also serve as good examples.
To build the library or any test or example project, run the following from within the relevant project directory:
dotnet restore
dotnet build
To run an example project, run the following from within the example's project directory:
dotnet run <args>
To run the integration or unit tests, run the following from within the relevant project directory:
dotnet test
To create a nuget package, run the following from wihin src/Confluent.Kafka
:
dotnet pack
Copyright (c) 2016-2017 Confluent Inc., 2015-2016, Andreas Heider