KafkaMessageBus v4.2.1 KafkaMessageBus.Adapters.TestAdapter View Source
This is an Adapter implementation that can be used in testing contexts instead of Kafka directly.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for KafkaMessageBus.Adapter.init/1
.
Callback implementation for KafkaMessageBus.Adapter.produce/2
.
Link to this section Functions
Link to this function
child_spec(arg) View Source
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
get_produced_messages() View Source
Link to this function
get_produced_messages(topic, resource, action) View Source
Link to this function
init(config) View Source
Callback implementation for KafkaMessageBus.Adapter.init/1
.
Link to this function
produce(message, opts) View Source
Callback implementation for KafkaMessageBus.Adapter.produce/2
.