We are sending the custom updates in the inbox of the users,
To do so we are firing an event which is handled asynchronously, and though in the list of users who has opted to get the alerts, there is no duplicacy, but still we are getting the duplicate alerts for the same user.
Fyi, we are not getting the same issue on the lower environment, even on the jive hosted test environment which contains 2 nodes.
Potential Cause can be
1. Event handling mechanism of Jive
2. Environment configuration on prod
Below is the code snippet of the event that we have fired and the handler