Ensuring Reliable Delivery of Email Update Events to AWS SNS

Hi everyone,

I’m working on a project where I need to ensure the reliable delivery of email update events from Keycloak to AWS SNS. Here’s my current setup:

  1. Custom Event Listener: I’ve implemented a Keycloak event listener to detect email updates.
  2. AWS SNS Integration: I’m using the AWS SDK to publish these events to an SNS topic.

While this setup works, I’m facing challenges with ensuring message delivery when AWS SNS is temporarily unreachable. I want to implement a solution that guarantees delivery, possibly using a local queue for retries. In my case the Event MUST be delivered to other systems.

Question:

  1. Local Queue and Retry Mechanism: Does Keycloak offer any built-in features to handle this? If not, has anyone implemented a solution using a local queue to manage retries?

No, this is not available ootb.

1 Like