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