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

Copyright(c) 2016-17 Brian W Bush
LicenseMIT
MaintainerBrian W Bush <consult@brianwbush.info>
StabilityExperimental
PortabilityStable
Safe HaskellNone
LanguageHaskell2010

Network.UI.Kafka.Keyboard

Contents

Description

Produce events on a Kafka topic from standard input.

Synopsis

Event handling

keyboardLoop Source #

Arguments

:: TopicConnection

The Kafka topic name and connection information.

-> Sensor

The name of the sensor producing events.

-> IO (ExitAction, LoopAction)

Action to create the exit and loop actions.

Produce keyboard events on a Kafka topic from standard input.