novu-java
novu-java copied to clipboard
[Draft]: Added Exponential Retry Mechanism with Idempotency Headers
Related to #79
Hi @Cliftonz, Please review this Draft PR as I am progressing on it.
- As we were already using
okhttp3
library, I have used the same library to implement the requirement asInterceptors
. - As per the original requirement, I have added configuration options for enabling/disabling the Exponential Retry mechanism and Idempotency Key provisioning.
- Provision to add Idempotency-Key in Header.
- Configuration for Exponential Retry Mechanism as per novu-go SDK
Will keep you updated as I progress on this issue.