publisher
fs2 Streams for publishing data to AWS Kinesis streams
Value members
Concrete methods
Writes the (partitionKey, payload) to a Kinesis stream via a Pipe
Writes the (partitionKey, payload) to a Kinesis stream via a Pipe
- Type parameters:
- F
effect type of the stream
- I
type of payload
- Value parameters:
- encoder
implicit I => ByteBuffer encoder
- parallelism
number of concurrent writes to race simultaneously
- producer
kinesis producer client to use
- streamName
the name of the Kinesis stream to write to
- Returns:
a Pipe that accepts a tuple consisting of the partition key string and an entity and returns original entity
Writes the (partitionKey, ByteBuffer) to a Kinesis stream via a Pipe
Writes the (partitionKey, ByteBuffer) to a Kinesis stream via a Pipe
- Type parameters:
- F
effect type of the stream
- Value parameters:
- parallelism
number of concurrent writes to race simultaneously
- producer
kinesis producer client to use
- streamName
the name of the Kinesis stream to write to
- Returns:
a Pipe that accepts a tuple consisting of the partition key string and a ByteBuffer of data and returns Unit this is most fast versKinesisConsumerSpecion of producer, since we do not care about the result of kinesis right, hence we don't wait for it to publish next message
Writes the (partitionKey, payload) to a Kinesis stream via a Pipe
Writes the (partitionKey, payload) to a Kinesis stream via a Pipe
- Type parameters:
- F
effect type of the stream
- I
type of payload
- Value parameters:
- encoder
implicit I => ByteBuffer encoder
- parallelism
number of concurrent writes to race simultaneously
- producer
kinesis producer client to use
- streamName
the name of the Kinesis stream to write to
- Returns:
a Pipe that accepts a tuple consisting of the partition key string and a ByteBuffer of data and returns UserRecordResults
Writes the (partitionKey, ByteBuffer) to a Kinesis stream via a Pipe
Writes the (partitionKey, ByteBuffer) to a Kinesis stream via a Pipe
- Type parameters:
- F
effect type of the stream
- Value parameters:
- parallelism
number of concurrent writes to race simultaneously
- producer
kinesis producer client to use
- streamName
the name of the Kinesis stream to write to
- Returns:
a Pipe that accepts a tuple consisting of the partition key string and a ByteBuffer of data and returns UserRecordResults
Writes the bytestream to a Kinesis stream via a Sink
Writes the bytestream to a Kinesis stream via a Sink
- Type parameters:
- F
effect type of the stream
- Value parameters:
- parallelism
the max number of writes to race concurrently
- producer
kinesis producer client to use
- streamName
the name of the Kinesis stream to write to
- Returns:
a Sink that accepts a stream of bytes