← ZIO Kafka docs

PartitionStream

zio.kafka.consumer.fetch.PartitionStream
abstract class PartitionStream

Key information needed by a FetchStrategy. At any given moment a consumer has at most 1 partition stream per partition.

queueSize gives the size of the record queue that buffers record before they are consumed by the user's program. See also section 'Using metrics to tune the consumer' in the 'Consumer Tuning' documentation.

Attributes

Source
PartitionStream.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def queueSize: UIO[Int]

Attributes

Source
PartitionStream.scala
def tp: TopicPartition

Attributes

Source
PartitionStream.scala