-
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.
Browse files
Browse the repository at this point in the history
…ason-bragg (#2658) * Added a data adapter to azure queue stream provider The data adapter allows users to use the new v2 versions of sequence token and batch container without risking changes to the original versions, which are being used in production services. The adapter also allows service developers to control how data is structured in azure queues, enabling the streaming of azure queue events of legacy systems or systems integrated with other non-orleans services.
- Loading branch information
1 parent
9ab2d2a
commit c6457f2
Showing
30 changed files
with
487 additions
and
433 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
23 changes: 23 additions & 0 deletions
23
src/OrleansAzureUtils/Providers/Streams/AzureQueue/AzureQueueAdapterConstants.cs
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
| ||
namespace Orleans.Providers.Streams.AzureQueue | ||
{ | ||
/// <summary> | ||
/// Azure queue stream provider constants. | ||
/// </summary> | ||
public static class AzureQueueAdapterConstants | ||
{ | ||
internal const int CacheSizeDefaultValue = 4096; | ||
|
||
/// <summary>"DataConnectionString".</summary> | ||
public const string DataConnectionStringPropertyName = "DataConnectionString"; | ||
/// <summary>"DeploymentId".</summary> | ||
public const string DeploymentIdPropertyName = "DeploymentId"; | ||
/// <summary>"MessageVisibilityTimeout".</summary> | ||
public const string MessageVisibilityTimeoutPropertyName = "VisibilityTimeout"; | ||
|
||
/// <summary>"NumQueues".</summary> | ||
public const string NumQueuesPropertyName = "NumQueues"; | ||
/// <summary> Default number of Azure Queue used in this stream provider.</summary> | ||
public const int NumQueuesDefaultValue = 8; // keep as power of 2. | ||
} | ||
} |
Oops, something went wrong.