Skip to content

SqsOptions

class

Namespace: Orleans.Configuration

Configures an Amazon SQS-backed persistent stream provider.
public class SqsOptions

Constructors

Properties

  • ConnectionString Specifies the connection string to use for connecting to SQS.
  • FifoQueue Configures the provider to use Amazon SQS FIFO queues and preserve ordering per stream.
  • ReceiveMessageAttributes Specifies which application-defined message attributes are retrieved with each message.
  • ReceiveMessageSystemAttributes Specifies which Amazon SQS system attributes are retrieved with each message.
  • ReceiveWaitTimeSeconds The optional duration to long-poll for new SQS messages.
  • VisibilityTimeoutSeconds The visibility timeout begins when Amazon SQS returns a message. During this time, the consumer processes and deletes the message. However, if the consumer fails before deleting the message and your system doesn't call the DeleteMessage action for that message before the visibility timeout expires, the message becomes visible to other consumers and the message is received again. If a message must be received only once, your consumer should delete it within the duration of the visibility timeout.