examples/

directory
v0.0.0-...-17e8eef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2018 License: BSD-3-Clause

README

Goka Examples

The examples in this directory will demonstrate different patterns and features of goka.

Setup

All examples are runnable out of the box. All you need to do is start Kafka and Zookeeper locally. Just run

make start
# or
make restart # if it was started already and you need fresh instances.

This will start the docker containers and configure kafka to auto-create the topics.

Simple Example

This is a very simple toy application that demonstrates how to

  • use an Emitter
  • use a Processor
  • run a View to print the group table's values

Example

Clicks

Similar to the first example, Emitter, Processor and View are demonstrated here. In Addition it shows how to

  • access the View using a web endpoint
  • use a Codecs

Example

Monitoring

Shows how to use the monitoring- and query-interface of goka.

TODO

Example

Testing

Shows how to (unit-)test programs using goka.

TODO

Example

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL