You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| "errors.tolerance": "none" | Default Behaviour.Connector will stop working on error |
352
+
| "errors.tolerance": "all","errors.log.enable": "false" | Connector will continue on error and error message will not be logged |
353
+
| "errors.tolerance": "all","errors.log.enable": "true","errors.log.include.message": "false" | Connector will continue on error and error occurrence will be logged and failed message will not be logged |
354
+
| "errors.tolerance": "all","errors.log.enable": "true","errors.log.include.message": "true" | Connector will continue on error and error occurrence will be logged and failed message will be logged |
355
+
| "errors.tolerance": "all","errors.log.enable": "true or false","errors.deadletterqueue.topic.name": "topic-name"|Connector will continue on error and error occurrence will be logged as per the option and failed message will be send to dead letter topic |
356
+
| "errors.tolerance": "all","errors.log.enable": "true or false","errors.deadletterqueue.topic.name": "topic-name","errors.deadletterqueue.context.headers.enable": "true" | Connector will continue on error and error occurrence will be logged as per the option and failed message will be send to dead letter topic and failure reason will be logged in message header. |
357
+
Please follow documentation for more information : `https://www.confluent.io/blog/kafka-connect-deep-dive-error-handling-dead-letter-queues`
358
+
359
+
Note : In case of Authentication error such as 401 and 403 connector will stop working irrespective of what error tolerance value we have set.
360
+
344
361
#### Dead Letter Configuration
345
362
To send error records to dead letter topic please use standard kafka connector error configuration.
Copy file name to clipboardexpand all lines: streaming-connect-sink/src/test/java/com/adobe/platform/streaming/integration/AEPSinkConnectorErrorReporterTest.java
+100-9
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,7 @@ public class AEPSinkConnectorErrorReporterTest extends AbstractConnectorTest {
Copy file name to clipboardexpand all lines: streaming-connect-sink/src/test/resources/aep-connector-inlet-successful-response.json
-12
Original file line number
Diff line number
Diff line change
@@ -5,18 +5,6 @@
5
5
"responses": [
6
6
{
7
7
"xactionId": "1565650704337:2124:92:3"
8
-
},
9
-
{
10
-
"status": 400,
11
-
"message": "inletId: [9b0cb233972f3b0092992284c7353f5eead496218e8441a79b25e9421ea127f5] imsOrgId: [{ORG_ID}] Message has unknown xdm format"
12
-
},
13
-
{
14
-
"status": 400,
15
-
"message": "inletId: [9b0cb233972f3b0092992284c7353f5eead496218e8441a79b25e9421ea127f5] imsOrgId: [{ORG_ID}] Message has an absent or wrong ims org in the header"
16
-
},
17
-
{
18
-
"status": 400,
19
-
"message": "inletId: [9b0cb233972f3b0092992284c7353f5eead496218e8441a79b25e9421ea127f5] imsOrgId: [{ORG_ID}] Message has unknown xdm format"
0 commit comments