The kafka-device package

[Tags:library, mit, program]

This package contains functions for passing UI device events to topics on a Kafka message broker <https://kafka.apache.org/>. Also see <https://hackage.haskell.org/package/kafka-device-joystick/>, <https://hackage.haskell.org/package/kafka-device-glut/>, <https://hackage.haskell.org/package/kafka-device-spacenav/>, <https://hackage.haskell.org/package/kafka-device-leap/>.


[Skip to Readme]

Properties

Versions 0.1.5.0, 0.2.1.0, 0.2.1.2
Dependencies aeson (>=0.11.3), base (>=4.8 && <5), binary (>=0.7.2), bytestring (>=0.10.6), cereal (>=0.5.4), linear (>=1.20.5), milena (>=0.5.0), mtl (>=2.2.1) [details]
License MIT
Copyright (c) 2016-17 Brian W Bush
Author Brian W Bush <consult@brianwbush.info>
Maintainer Brian W Bush <consult@brianwbush.info>
Category Hardware
Home page https://bitbucket.org/functionally/kafka-device
Bug tracker https://bwbush.atlassian.net/projects/HKAFDEV/issues/
Source repository head: git clone https://bitbucket.org/functionally/kafka-device
Uploaded Sun Feb 26 16:16:52 UTC 2017 by BrianBush
Distributions NixOS:0.2.1.2
Downloads 64 total (6 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2017-02-26 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for kafka-device

Readme for kafka-device-0.2.1.2

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