object SqsPublishFlow
Scala API to create publishing SQS flows.
- Annotations
- @ApiMayChange()
- Source
- SqsPublishFlow.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SqsPublishFlow
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def apply(settings: SqsPublishSettings = SqsPublishSettings.Defaults)(implicit sqsClient: SqsAsyncClient): Flow[SendMessageRequest, SqsPublishResult, NotUsed]
creates a Flow to publish messages to SQS queues based on the message queue url using an SqsAsyncClient
- def apply(queueUrl: String)(implicit sqsClient: SqsAsyncClient): Flow[SendMessageRequest, SqsPublishResult, NotUsed]
creates a Flow to publish messages to a SQS queue using an SqsAsyncClient
- def apply(queueUrl: String, settings: SqsPublishSettings)(implicit sqsClient: SqsAsyncClient): Flow[SendMessageRequest, SqsPublishResult, NotUsed]
creates a Flow to publish messages to a SQS queue using an SqsAsyncClient
- def batch(queueUrl: String, settings: SqsPublishBatchSettings = SqsPublishBatchSettings.Defaults)(implicit sqsClient: SqsAsyncClient): Flow[Iterable[SendMessageRequest], List[SqsPublishResultEntry], NotUsed]
creates a Flow to publish messages in batches to a SQS queue using an SqsAsyncClient
- def grouped(queueUrl: String, settings: SqsPublishGroupedSettings = SqsPublishGroupedSettings.Defaults)(implicit sqsClient: SqsAsyncClient): Flow[SendMessageRequest, SqsPublishResultEntry, NotUsed]
creates a Flow that groups messages and publishes them in batches to a SQS queue using an SqsAsyncClient
creates a Flow that groups messages and publishes them in batches to a SQS queue using an SqsAsyncClient
- See also
https://pekko.apache.org/docs/pekko/current/stream/operators/Source-or-Flow/groupedWithin.html#groupedwithin