Packages

final case class MiniBatchState[A, K] extends Product with Serializable

State which represents the consumption of 'ConsumerRecords' from kafka and partition them into buckets.

Each bucket should be represented as an observable of some kind of data structure which contains the ConsumerRecords that completes once we've consumed all* the records from the time bucket (e.g. if we want to partition the data into 10 minute segments, one partition would contain the records from 8:10 to 8:20)

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MiniBatchState
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. val indicesRemaining: Long
  2. val lastReceivedPerBucket: Map[K, Long]
  3. val miniBatchSize: Int
  4. def productElementNames: Iterator[String]
    Definition Classes
    Product
  5. val strict: Boolean
  6. def update(record: A, messageNumber: Long): (MiniBatchState[A, K], Seq[PartitionEvent[A, K]])