The kafka-device package

[ Tags: hardware, library, mit, program ] [ Propose Tags ]

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
Executables kafka-device-keyboard, kafka-device
Downloads 225 total (71 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-02-26 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for kafka-device-0.2.1.2

[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