Appendix C: Querying streams without ksqlDB
Deliveries per carrier per minute of event time from one topic, answered by Kafka Streams interactive queries, a Flink SQL job and RisingWave materialized views, with one lateness bound in all three.
Chapter 38
examples/ac-querying-streams-without-ksqldb/ sends the same ShipmentDelivered records for orders O-38xx to three engines and compares the closed windows. It accompanies Appendix C.
It uses Quarkus Kafka Streams, Apache Flink SQL with the Kafka connector, RisingWave, PostgreSQL (for its psql client), Kafka and OpenTelemetry to the LGTM stack.
(cd examples/domain-model && mvn -B -q install)
cd examples/ac-querying-streams-without-ksqldb
mvn -B verify
./verify.sh