Producer

nl.vroste.zio.kinesis.interop.futures.Producer
See theProducer companion class
object Producer

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Producer.type

Members list

Value members

Concrete methods

def make[T : Tag](streamIdentifier: StreamIdentifier, serializer: Serializer[Any, T], settings: ProducerSettings, metricsCollector: ProducerMetrics => Unit, buildKinesisClient: KinesisAsyncClientBuilder => KinesisAsyncClientBuilder, buildCloudWatchClient: CloudWatchAsyncClientBuilder => CloudWatchAsyncClientBuilder, buildDynamoDbClient: DynamoDbAsyncClientBuilder => DynamoDbAsyncClientBuilder, buildHttpClient: Builder => SdkAsyncHttpClient): Producer[T]

Create a Producer of T values to stream streamIdentifier

Create a Producer of T values to stream streamIdentifier

Type parameters

T

Type of values to produce

Value parameters

metricsCollector

Periodically called with producer metrics

serializer

Serializer for values of type T

streamIdentifier

Stream to produce to. Either just the name or the whole arn.

Attributes

Returns

A Managed Producer