View Source Beeline.DummyProducer (Beeline v1.0.0)

A GenStage producer built for testing beeline topologies

This producer can be used either by setting the producer option :adapter to :dummy or by setting the :test_mode? option to true.

This producer emits events which arrive via GenServer.cast/2. Use Beeline.test_events/2 to send events to a topology's dummy producer.