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
feita há um ano189 visualizações
1 Resposta
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
ENGENHEIRO DE SUPORTE
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas