adobe / experience-platform-streaming-connect

Experience platform Streaming Connectors for Data Ingress
Apache License 2.0
23 stars 20 forks source link

Fail sink task on http exceptions #20

Closed nipunnair closed 3 years ago

nipunnair commented 3 years ago

Summary

This change checks for HTTPException on the AEP Publish task, and forces a Connect sink task failure on the put() call. This behaviour will ensure that we will not move the commit marker forward if the message was not published successfully.

Changes

We are consciously not moving the messages into a dead letter queue here since that this not the desired behaviour for this condition.

Relevant Documentation

Please enter the links of any docs updated to reflect this change

How Has This Been Tested?

Types of changes

Checklist