zio.kafka.consumer
package zio.kafka.consumer
Members list
Packages
package zio.kafka.consumer.diagnostics
package zio.kafka.consumer.fetch
package zio.kafka.consumer.internal
package zio.kafka.consumer.metrics
Type members
Classlikes
final case class CommittableRecord[K, V](record: ConsumerRecord[K, V], nextOffset: OffsetAndMetadata, commitHandle: Map[TopicPartition, OffsetAndMetadata] => Task[Unit], consumerGroupMetadata: Option[ConsumerGroupMetadata])
Attributes
- Companion
- object
- Source
- CommittableRecord.scala
- Supertypes
object CommittableRecord
Attributes
- Companion
- class
- Source
- CommittableRecord.scala
- Supertypes
- Self type
-
CommittableRecord.type
trait Consumer
Attributes
- Companion
- object
- Source
- Consumer.scala
- Supertypes
-
class Objecttrait Matchableclass Any
object Consumer
Attributes
- Companion
- trait
- Source
- Consumer.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Consumer.type
object ConsumerSettings
Attributes
- Companion
- class
- Source
- ConsumerSettings.scala
- Supertypes
- Self type
-
ConsumerSettings.type
final case class ConsumerSettings(properties: Map[String, AnyRef] = ..., closeTimeout: Duration = ..., pollTimeout: Duration = ..., commitTimeout: Duration = ..., offsetRetrieval: OffsetRetrieval = ..., rebalanceListener: RebalanceListener = ..., rebalanceSafeCommits: Boolean = ..., maxRebalanceDuration: Option[Duration] = ..., fetchStrategy: FetchStrategy = ..., metricLabels: Set[MetricLabel] = ..., metricsObserver: Option[ConsumerMetricsObserver] = ..., runloopMetricsSchedule: Schedule[Any, Unit, Long] = ..., authErrorRetrySchedule: Schedule[Any, Throwable, Any] = ..., maxStreamPullIntervalOption: Option[Duration] = ..., diagnostics: ConsumerDiagnostics = ..., emptyPollCountToMetaRefresh: Option[Int] = ...)
Settings for the consumer.
Settings for the consumer.
To stay source compatible with future releases, you are recommended to construct the settings as follows:
ConsumerSettings(bootstrapServers)
.tuneForHighThroughput
.withGroupId(groupId)
.withProperties(properties)
.... etc.
Attributes
- Companion
- object
- Source
- ConsumerSettings.scala
- Supertypes
case object EmptyOffsetBatch extends OffsetBatch
Attributes
- Source
- OffsetBatch.scala
- Supertypes
- Self type
-
EmptyOffsetBatch.type
final case class InvalidSubscriptionUnion(subscriptions: Chunk[Subscription]) extends RuntimeException
Attributes
- Source
- InvalidSubscriptionUnion.scala
- Supertypes
trait Offset
The offset of a consumed record.
The offset of a consumed record.
Attributes
- Companion
- object
- Source
- Offset.scala
- Supertypes
-
class Objecttrait Matchableclass Any
object Offset
Attributes
- Companion
- trait
- Source
- Offset.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Offset.type
object OffsetBatch
Attributes
- Companion
- trait
- Source
- OffsetBatch.scala
- Supertypes
- Self type
-
OffsetBatch.type
Attributes
- Companion
- object
- Source
- OffsetBatch.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object EmptyOffsetBatch
ZIO wrapper around Kafka's ConsumerRebalanceListener to work with Scala collection types and ZIO effects.
ZIO wrapper around Kafka's ConsumerRebalanceListener to work with Scala collection types and ZIO effects.
Attributes
- Companion
- object
- Source
- RebalanceListener.scala
- Supertypes
object RebalanceListener
Attributes
- Companion
- class
- Source
- RebalanceListener.scala
- Supertypes
- Self type
-
RebalanceListener.type
object StreamControl
Attributes
- Companion
- trait
- Source
- StreamControl.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
StreamControl.type
Attributes
- Companion
- object
- Source
- StreamControl.scala
- Supertypes
-
class Objecttrait Matchableclass Any
object Subscription
Attributes
- Companion
- trait
- Source
- Subscription.scala
- Supertypes
- Self type
-
Subscription.type
Attributes
- Companion
- object
- Source
- Subscription.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
In this article