Liking cljdoc? Tell your friends :D

cddr.kafka.test.fixtures


default-reset-fnclj

(default-reset-fn rt args)

delete-recursivelyclj

(delete-recursively fname)

empty-state-fixtureclj

(empty-state-fixture app-config)

integration-fixtureclj

(integration-fixture build-fn
                     {:keys [broker-config topic-metadata app-config enable?]})

kstream-fixtureclj

(kstream-fixture {:keys [topology config]})

Returns a fixture that builds and starts kafka streams for the supplied topology before running the test function (and then tears it down when the test is complete).

compose-fixtures or join-fixtures may be used to build fixtures combine topologies

Returns a fixture that builds and starts kafka streams for the supplied topology
before running the test function (and then tears it down when the test is
complete).

`compose-fixtures` or `join-fixtures` may be used to build fixtures combine
topologies
raw docstring

list-topicsclj

(list-topics client)

reset-application-fixtureclj

(reset-application-fixture app-config)
(reset-application-fixture app-config reset-args)
(reset-application-fixture app-config reset-args reset-fn)

Returns a fixture that runs the kafka.tools.StreamsResetter with the supplied reset-args as parameters

Returns a fixture that runs the kafka.tools.StreamsResetter with the supplied
`reset-args` as parameters
raw docstring

service-ready?clj

(service-ready? {:keys [http-url http-params timeout]})

skip-to-endclj

(skip-to-end {:keys [topic config]})

Returns a fixture that skips to the end of the supplied topic before running the test function

Returns a fixture that skips to the end of the supplied topic before running
the test function
raw docstring

topic-fixtureclj

(topic-fixture kafka-config topic-config)
(topic-fixture kafka-config topic-config timeout-ms)

Returns a fixture function that creates all the topics named in the supplied topic config before running a test function.

Returns a fixture function that creates all the topics named in the supplied
topic config before running a test function.
raw docstring

with-fixturescljmacro

(with-fixtures fixtures & body)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close