Packages

object SqsPublishFlow

Scala API to create publishing SQS flows.

Annotations
@ApiMayChange()
Source
SqsPublishFlow.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SqsPublishFlow
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. 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

  2. def apply(queueUrl: String)(implicit sqsClient: SqsAsyncClient): Flow[SendMessageRequest, SqsPublishResult, NotUsed]

    creates a Flow to publish messages to a SQS queue using an SqsAsyncClient

  3. 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

  4. 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

  5. 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