https://github.com/functionally/kafka-device
https://github.com/functionally/kafka-device
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/functionally/kafka-device
- Owner: functionally
- License: mit
- Created: 2022-11-10T06:20:43.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-10T06:53:38.000Z (about 3 years ago)
- Last Synced: 2025-02-24T08:18:19.539Z (11 months ago)
- Language: Haskell
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
- License: LICENSE
Awesome Lists containing this project
README
UI device events via a Kafka message broker
===========================================
This package contains functions passing UI device events to topics on a [Kafka message broker](https://kafka.apache.org/).
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
* https://hackage.haskell.org/package/kafka-device-joystick/: events from Linux joysticks
* https://hackage.haskell.org/package/kafka-device-glut/: events from GLUT-compatible devices
* https://hackage.haskell.org/package/kafka-device-spacenav/: events from SpaceNavigator devices
* https://hackage.haskell.org/package/kafka-device-leap/: events from Leap Motion devices