Azure / Azure/azure-cosmosdb-java
Idempotency for cosmos db java client as it is using http protocol
Open
- Dominant language
- Java
- Stars
- 59
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
Let's say there is a document with the following JSON structure.
{
"name": "fernandez",
"age": 46
}
Now, Azure cosmos DB makes a post request and at the server end the document is created successfully., But the response is not proper due to transient errors in the network. Now If the client retries there a duplicate document gets created. This means Cosmos db needs to provide idempotency for creating documents.
Currently, I do not find any header which takes idempotency key from clients.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.