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
질문됨 일 년 전187회 조회
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
지원 엔지니어
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠