Issue: During the recent validations, it was found that apex-pdp has to be configured with separate producer/consumer combination for handling success & failure scenarios.
Due to which apex-pdp is making duplicate calls to CDS for the same action. Resulting in CDS taking duplicate actions on device.
Solution: One possible solution, could be to make the "eventNameFilter" accept a list of events. So that there is no need of configuring 2 producer/consumer combo. Other solution could be to make 1 producer pair up with multiple consumers. But this will be more error prone & complex than the previous one.