File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ In API development, idempotency helps in the following ways:
33
33
adapters for Redis and DynamoDB, allowing developers to choose the backend that best suits their requirements.
34
34
* ** Simple Annotation-based Configuration** : Adding idempotency to APIs is as simple as annotating the relevant methods
35
35
with [@Idempotent](idempotent-core/src/main/java/io/github/arun0009/idempotent/core/annotation/Idempotent.java).
36
+ * ** Client-Specified or Server-Specified Idempotent Keys** : Clients can dictate what the idempotent key should be via a
37
+ configurable HTTP header, or the server can use the idempotency key specified in the @Idempotent annotation configuration.
38
+ * ** Handling In-Progress Concurrent/Duplicate Requests** : Concurrent or duplicate requests will wait for the first request
39
+ to complete (within a given configurable time frame and retries) and return the same response as the first request.
36
40
37
41
## Getting Started
38
42
You can’t perform that action at this time.
0 commit comments