KafkaConsumer

Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

final class StreamOps[F[_], K, V](self: Stream[F, KafkaConsumer[F, K, V]])(implicit evidence$2: Functor[F])

Value members

Concrete methods

def apply[F[_]]: ConsumerPartiallyApplied[F]
def resource[F[_], K, V](settings: ConsumerSettings[F, K, V])(implicit F: Async[F], mk: MkConsumer[F]): Resource[F, KafkaConsumer[F, K, V]]

Creates a new KafkaConsumer in the Resource context, using the specified ConsumerSettings. Note that there is another version where F[_] is specified explicitly and the key and value type can be inferred, which allows you to use the following syntax.

Creates a new KafkaConsumer in the Resource context, using the specified ConsumerSettings. Note that there is another version where F[_] is specified explicitly and the key and value type can be inferred, which allows you to use the following syntax.

KafkaConsumer.resource[F].using(settings)
def stream[F[_], K, V](settings: ConsumerSettings[F, K, V])(implicit F: Async[F], mk: MkConsumer[F]): Stream[F, KafkaConsumer[F, K, V]]

Creates a new KafkaConsumer in the Stream context, using the specified ConsumerSettings. Note that there is another version where F[_] is specified explicitly and the key and value type can be inferred, which allows you to use the following syntax.

Creates a new KafkaConsumer in the Stream context, using the specified ConsumerSettings. Note that there is another version where F[_] is specified explicitly and the key and value type can be inferred, which allows you to use the following syntax.

KafkaConsumer.stream[F].using(settings)