Mocks for testing kafka streams.
Mocks for testing kafka streams.
(build-driver f)
(collect streams-builder)
Collects the test results. The test driver returns a list of messages with each message formatted like "key:value"
Collects the test results. The test driver returns a list of messages with each message formatted like "key:value"
(consume test-driver {:keys [topic-name key-serde value-serde]})
(get-keyvals test-driver topic-config)
(get-records test-driver topic-config)
(publish test-driver topic-config k v)
(publish test-driver topic-config time-ms k v)
(repeatedly-consume test-driver topic-config)
(send topology topic-config key message)
Publishes message to a topic.
Publishes message to a topic.
(streams-builder)
(streams-builder streams-builder)
Creates a mock streams-builder.
Creates a mock streams-builder.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close