Packages

package producer

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package batching
  2. package fs2
  3. package logging

Type Members

  1. abstract class Producer[F[_], PutReq, PutRes] extends AnyRef

    An interface that gives users the ability to efficiently batch and produce records.

    An interface that gives users the ability to efficiently batch and produce records. A producer has a ShardMapCache, and uses it to predict the shard that a record will be produced to. Knowing this, we can batch records against both shard and stream-level limits for requests. There should be 1 instance of a Producer per Kinesis stream (as a ShardMapCache will only consider a single stream)

    PutReq

    The class that represents a batch put request for the underlying client

    PutRes

    The class that represents a batch put response for the underlying client

  2. final case class Record(data: Array[Byte], partitionKey: String, explicitHashKey: Option[String] = None, sequenceNumberForOrdering: Option[String] = None) extends Product with Serializable
  3. final case class ShardMap(shards: List[ShardMapRecord], lastUpdated: Instant) extends Product with Serializable
  4. final case class ShardMapRecord(shardId: ShardId, hashKeyRange: HashKeyRange) extends Product with Serializable

Value Members

  1. object Producer
  2. object Record extends Serializable
  3. object ShardMap extends Serializable
  4. object ShardMapCache

Ungrouped