Skip to content

IoT-inspired demo application using the Java client for ksqlDB

Notifications You must be signed in to change notification settings

vcrfxia/ksqldb-client-iot-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ksqlDB meets Java: An IoT-inspired demo

A simple, IoT-inspired demo application that showcases the Java client for ksqlDB.

Consider an IoT use case where multiple types of sensors each send readings to specific Kafka topics, one for each sensor type. There may be multiple sensors of each type, all reporting data to the same topic. Each sensor is identified by a unique sensor ID, and the data schema for each sensor type is assumed to have a string-type sensorID value column accordingly.

The example SensorTypesManagers support registering new sensor types, querying specific sensors for their latest values, and removing sensor types (and cleaning up the associated resources). The methods in BlockingSensorTypesManager are blocking while those in NonBlockingSensorTypesManager are not, and showcase CompletableFuture composition as well.

See the associated blog post at https://www.confluent.io/blog/ksqldb-java-client-iot-inspired-demo/ for more.

About

IoT-inspired demo application using the Java client for ksqlDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages