@hackage / kafka-device

UI device events via a Kafka message broker

Latest1.0.2.1

About

Metadata

  • Last updated , by BrianBush
  • License MIT
  • Categories Hardware
  • Maintained by: Brian W Bush <code@functionally.io>

  • Lottery factor: 0

Links

Installation

Readme

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