package producer
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
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
- final case class Record(data: Array[Byte], partitionKey: String, explicitHashKey: Option[String] = None, sequenceNumberForOrdering: Option[String] = None) extends Product with Serializable
- final case class ShardMap(shards: List[ShardMapRecord], lastUpdated: Instant) extends Product with Serializable
- final case class ShardMapRecord(shardId: ShardId, hashKeyRange: HashKeyRange) extends Product with Serializable
Value Members
- object Producer
- object Record extends Serializable
- object ShardMap extends Serializable
- object ShardMapCache