novu-java icon indicating copy to clipboard operation
novu-java copied to clipboard

[Draft]: Added Exponential Retry Mechanism with Idempotency Headers

Open git-ashug opened this issue 10 months ago • 1 comments

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 as Interceptors.
  • 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.

git-ashug avatar Oct 15 '23 14:10 git-ashug