com.mongodb.MongoWriteException

0

I am seeing repeated error in MSK connector logs. Any idea what might be causing this and how to resolve? Error wording is as follows

Task threw an uncaught and unrecoverable exception
'duplicate key error collection'
Abhinav
已提问 1 年前186 查看次数
1 回答
0

Hi there,

It seems you are using mongoDB connector in MSK Connect, and the error originates at database's end.

'duplicate key error collection' might be caused by Unique indexes[1], which will not allow an operation to insert a new document with an existing indexed field. I suggest you look into the documents being inserted and see if there is any duplication in some of the fields.

If the issue still persists, please create a support case with AWS using link[2] and include more detailed logs.

[1] https://www.mongodb.com/docs/v4.2/core/index-unique/index.html?_ga=2.260644621.1633400316.1688007655-301732751.1688007655#unique-indexes

[2] https://console.aws.amazon.com/support/home#/case/create

AWS
支持工程师
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容