-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move ReceiveAttributes onto SqsOptions
SqsOptions are now passed down to SQSStorage to be accessible
- Loading branch information
1 parent
637e0ae
commit f4306cc
Showing
7 changed files
with
61 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,35 @@ | ||
| ||
|
||
using System.Collections.Generic; | ||
|
||
namespace Orleans.Configuration | ||
{ | ||
public class SqsOptions | ||
{ | ||
/// <summary> | ||
/// Specifies the connection string to use for connecting to SQS. | ||
/// </summary> | ||
/// <example> | ||
/// Example for AWS: Service=eu-west-1;AccessKey=XXXXXX;SecretKey=XXXXXX;SessionToken=XXXXXX; | ||
/// </example> | ||
/// <example> | ||
/// Example for LocalStack: Service=http://localhost:4566 | ||
/// </example> | ||
[Redact] | ||
public string ConnectionString { get; set; } | ||
|
||
/// <summary> | ||
/// Specifies which SQS Attributes should be retrieved about the SQS message from the Queue. | ||
/// </summary> | ||
public List<string> ReceiveAttributes { get; set; } = new(); | ||
|
||
/// <summary> | ||
/// Specifies which Message Attributes should be retrieved with the SQS messages. | ||
/// </summary> | ||
public List<string> ReceiveMessageAttributes { get; set; } = new(); | ||
|
||
/// <summary> | ||
/// The optional duration to long-poll for new SQS messages. | ||
/// </summary> | ||
public int? ReceiveWaitTimeSeconds { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters