Fresa / Kafka.TestFramework

An in-memory test framework for Kafka clients

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kafka.TestFramework

An in-memory test framework for Kafka clients which can be used to subscribe on request messages and respond with response messages. The test server can be used in-memory or connected to clients over TCP.

Continuous Delivery

Download

https://www.nuget.org/packages/kafka.testframework

Getting Started

The test framework can be used in-memory or by setting up a TCP socket that the kafka client can connect to. See the integration tests.

Testing a Producer

This integration test shows how a setup of the test framework with a Kafka.Confluence producer could look like.

Testing a Consumer

This integration test shows how a setup of the test framework with a Kafka.Confluence consumer could look like.

v2.x

Now supports Kafka.Protocol v2.x.

About

An in-memory test framework for Kafka clients

License:MIT License


Languages

Language:C# 100.0%