Skip to content

Commit

Permalink
Merge branch 'main' of github.com:noxdafox/rabbitmq-message-deduplica…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
noxdafox committed Dec 10, 2022
2 parents 2eb52cf + 10c56d3 commit 8a3ec2e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,15 @@ Each message containing the `x-deduplication-header` header will not be routed i

To create a message deduplication exchange, just declare it providing the type `x-message-deduplication`.

Extra arguments:
Required arguments:

* `x-cache-size`: maximum number of entries for the deduplication cache. If the deduplication cache fills up, older entries will be removed to give space to new ones.
This parameter is mandatory.

Optional arguments:

* `x-cache-ttl`: amount of time in milliseconds duplicate headers are kept in cache.
This parameter is optional.
* `x-cache-persistence`: whether the duplicates cache will persist on disk or in memory.
This parameter is optional. Default persistence type is `memory`.
Default persistence type is `memory`.

### Message headers

Expand Down

0 comments on commit 8a3ec2e

Please sign in to comment.