[KAFKA-331] Report MongoExceptions to the DLQ Created: 30/Sep/22  Updated: 02/Nov/22  Resolved: 02/Nov/22

Status: Closed
Project: Kafka Connector
Component/s: Sink
Affects Version/s: None
Fix Version/s: 1.9.0

Type: Improvement Priority: Minor - P4
Reporter: Ross Lawley Assignee: Valentin Kavalenka
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to KAFKA-257 Write MongoDB errors to the dead lett... Closed
Quarter: FY23Q4
Case:
Documentation Changes: Not Needed

 Description   

Currently only MongoBulkWriteException are processed and written to the DLQ. Other exceptions such as com.mongodb.MongoCommandException: Command failed with error 13 (Unauthorized) are only logged but should also be reported if available.



 Comments   
Comment by Githook User [ 02/Nov/22 ]

Author:

{'name': 'Valentin Kovalenko', 'email': 'valentin.kovalenko@mongodb.com', 'username': 'stIncMale'}

Message: Report all exceptions to the DLQ when `mongo.errors.tolerance` is `"all"`. (#123)

This change is in accordance with the original DLQ scope document:
https://jira.mongodb.org/browse/WRITING-9407.

KAFKA-331
Branch: master
https://github.com/mongodb/mongo-kafka/commit/3b19b1052ef7cb6002349c78d26ef9dfc6405b64

Generated at Thu Feb 08 09:06:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.