Skip to content

Quarks Receipe Ideas

Dan Debrunner edited this page Mar 4, 2016 · 8 revisions

Potential list of recipes that could be simply written up:

Feel free to add more.

Anyone can write one of these recipes for the wiki or documentation site (or elsewhere).

Starting from "Hello Quarks": Tutorial:

  • Hello Quarks
  • How to write a source function
  • How to write a sink function
  • How to write a map function
  • Re-using a stream
  • How to split a stream
  • How to union a stream
  • How to write a stateful function
  • Windowing: keeping the last ten minutes of data
    • Windowing: performing an aggregation of a window
    • Windowing: keeping the last 1000 data items
  • Detect a sensor value out of expected range
    • simple filtering
    • deadband filter
  • Reducing data volume sent to back-end
    • Using batch aggregation
    • Continuous aggregation with filtering
    • Heartbeat with a collection of values
  • Sending data to an IoT scale Message Hub
    • IBM Watson IoT Platform
    • MQTT
  • How to create a metric
  • Using Kafka
  • How to acquire and process sensor data on a Raspberry Pi
    • light sensor
    • temperature sensor
    • button?
    • motion detector
Clone this wiki locally