-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
--- | ||
title: CosmosDB partition key and saga timeouts | ||
summary: How to resolve partition key with saga timeouts when using Azure Cosmos DB | ||
summary: How to resolve partition keys with saga timeouts when using Azure Cosmos DB | ||
component: CosmosDB | ||
reviewed: 2024-05-27 | ||
--- | ||
|
||
When [sending saga timeouts](/nservicebus/sagas/timeouts.md/) the current partition information is not automatically added to the timeout message. When such a saga timeout message is processed the partition to be used for the CosmosDB cannnot be extracted from the incoming saga timeout message. | ||
When [sending saga timeouts](/nservicebus/sagas/timeouts.md/) the current partition information is not automatically added to the timeout message. When such a saga timeout message is processed, the partition to be used for the CosmosDB cannot be extracted from the incoming saga timeout message. | ||
|
||
Ensure that the timeout data state that is passed to `RequestTimeout` contains the partition key information. The [Cosmos DB Persistence Usage with non-default container sample](/samples/cosmosdb/container/) demonstrates this. | ||
Ensure that the timeout data state that is passed to `RequestTimeout` contains the partition key information. The [Cosmos DB Persistence Usage with non-default container sample](/samples/cosmosdb/container/) demonstrates this approach. |