kafka-device: UI device events via a Kafka message broker

[ hardware, library, mit, program ] [ Propose Tags ]
Versions [RSS] 0.1.5.0, 0.2.1.0, 0.2.1.2, 1.0.0.0, 1.0.2.0, 1.0.2.1
Dependencies aeson (>=1.3.1), base (>=4.10 && <5), binary (>=0.8.5), bytestring (>=0.10.8), cereal (>=0.5.7), linear (>=1.20.8), milena (>=0.5.2), mtl (>=2.2.2) [details]
License MIT
Copyright (c) 2016-19 Brian W Bush
Author Brian W Bush <code@functionally.io>
Maintainer Brian W Bush <code@functionally.io>
Category Hardware
Home page https://bitbucket.org/functionally/kafka-device
Bug tracker https://bwbush.atlassian.net/projects/HKAFDEV/issues/
Source repo head: git clone https://bitbucket.org/functionally/kafka-device
Uploaded by BrianBush at 2019-03-04T01:17:06Z
Distributions
Reverse Dependencies 5 direct, 1 indirect [details]
Executables kafka-device-keyboard, kafka-device
Downloads 3444 total (14 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-03-04 [all 1 reports]

Readme for kafka-device-1.0.2.1

[back to package description]

UI device events via a Kafka message broker

This package contains functions passing UI device events to topics on a Kafka message broker.

Clients

The simple Kafka client that produces events from the keyboard can be run, for example, as follows:

cabal run kafka-device-keyboard -- keyboard-client localhost 9092 events keyboard

The simple Kafka client that consumes events can be run, for example, as follows:

cabal run kafka-device -- consumer-client localhost 9092 events

See also