ConsumerStream
ConsumerStream provides support for inferring the key and value
type from ConsumerSettings when using KafkaConsumer.stream
with the
following syntax.
KafkaConsumer.stream[F].using(settings)
class AnyVal
trait Matchable
class Any
Value members
Concrete methods
def using[K, V](settings: ConsumerSettings[F, K, V])(implicit context: ContextShift[F], timer: Timer[F]): Stream[F, KafkaConsumer[F, K, V]]
Creates a new KafkaConsumer in the Stream
context.
This is equivalent to using KafkaConsumer.stream
directly,
except we're able to infer the key and value type.
Creates a new KafkaConsumer in the Stream
context.
This is equivalent to using KafkaConsumer.stream
directly,
except we're able to infer the key and value type.