Skip to content

haskell-works/hw-kafka-conduit

Repository files navigation

kafka-client-conduit

CircleCI

Conduit based API for kafka-client.

Ecosystem

HaskellWorks Kafka ecosystem is described here: https://github.com/haskell-works/hw-kafka

Example

A working example can be found at example/Main.hs

Prerequisites

Running an example requires Kafka to be available at localhost:9092

docker-compose can be used for spinning up Kafka environment:

$ docker-compose up

Running the example

To build and run the example project:

$ stack build --flag hw-kafka-conduit:examples

or

$ stack build --exec kafka-conduit-example --flag hw-kafka-conduit:examples