Confluent

Testing Event-Driven Systems | Confluent

Apr 24, 2019Andy Chambers
Testing Event-Driven Systems | Confluent
SummaryAI, from the source post

Introduces the 'Test Machine' library for end-to-end testing of event-driven systems, addressing the limitations of unit tests and existing Kafka Streams testing tools like TopologyTestDriver and Fluent Kafka Streams Tests. Details a testing pattern involving writing input events, waiting for processing, and asserting output. Explains the 'Test Machine' architecture with 'write' and 'watch' commands, portable test execution against various targets (local Kafka, REST Proxy, mock topology), and performance considerations. Provides a Clojure code example using the Test Machine for a word count demo.

More from the Kafka Broker and Streams Enhancements trail