Skip to content

Commit

Permalink
Merge pull request #40 from snowron/master
Browse files Browse the repository at this point in the history
Fix: typo problems in readme file
  • Loading branch information
memojja authored Oct 6, 2022
2 parents cd6703b + 34fa2c9 commit 50e6c82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ If want that idempotencyId in your payload. Put `@JdempotentId` annotation that
Can be thought of as @Id annotation in jpa.

```java
public class IdempotentPaylaod {
public class IdempotentPayload {
@JdempotentId
private String jdempotentId;
private Object data;
Expand All @@ -69,7 +69,7 @@ public class IdempotentPaylaod {
You might want to handle the name of the field differently to ensure idempotency. Just use @JdempotentProperty annotation needs to get the field name differently and generate the hash inspired by jackson (@JsonProperty annotation)

```java
public class IdempotentPaylaod {
public class IdempotentPayload {
@JdempotentProperty("userId")
private String customerId;
private Object data;
Expand Down Expand Up @@ -136,7 +136,7 @@ jdempotent:
```
Please note that you can disable Jdempotent easily if you need to.
For example, assume that you don't have a circut breaker and your Redis is down.
For example, assume that you don't have a circuit breaker and your Redis is down.
In that case, you can disable Jdempotent with the following configuration:
Expand Down

0 comments on commit 50e6c82

Please sign in to comment.