Skip to content

Commit b8e927c

Browse files
committed
added non-retryable error codes
1 parent 6e906c1 commit b8e927c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

articles/stream-analytics/stream-analytics-documentdb-output.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,12 @@ Creating Cosmos DB as an output in Stream Analytics generates a prompt for infor
9292
|Database | The Azure Cosmos DB database name.|
9393
|Container name | The container name to be used. `MyContainer` is a sample valid input - one container named `MyContainer` must exist. |
9494
|Document ID | Optional. The column name in output events used as the unique key on which insert or update operations must be based. If left empty, all events will be inserted, with no update option.|
95+
96+
## Error Handling and retries
97+
98+
In the event of a transient failures, service unavailability or throttling while sending events to Cosmos DB, Stream Analytics retries indefinitely to successfully complete the operation. However, there are some failures for which retries are not attempted and they are as follows:
99+
100+
- Unauthorized (Http error code 401)
101+
- NotFound (Http error code 404)
102+
- Forbidden (Http error code 403)
103+
- BadRequest (Http error code 400)

0 commit comments

Comments
 (0)