MockKafkaConsumer

io.github.jchapuis.fs2.kafka.mock.MockKafkaConsumer
See theMockKafkaConsumer companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(topics: String*)(implicit IORuntime: IORuntime): Resource[IO, MockKafkaConsumer]

Create a mock kafka consumer for the given topics. Backed by the mock consumer built into the kafka client library.

Create a mock kafka consumer for the given topics. Backed by the mock consumer built into the kafka client library.

Value parameters

IORuntime

the implicit IORuntime

topics

the topics to create the consumer for

Attributes

Returns

a resource containing the mock kafka consumer