MongoDb write faulty insertion

I used the component jsonwriter and the required json was formed.
The next step i require is to write the json records to a mongo.
My jsonWriter file url output is stream and is stored in a metadata with string field.
This output edge is fed to mongoWriter.When i run the graph, only one json record gets inserted at a time.So i need to to re-run the graph for next record insertion.

Why does this happen, am i missing something in MongoWriter feature??
Is there a limit in string metadata ,the records seems to be broken though the the whole json gets inserted :wink: ?

Hi,

You need to define partitioning on JSONExtract. I would also recommend you using discrete writing mode. For more information about output port writing please refer to our documentation: http://doc.cloveretl.com/documentation/ … iting.html

Hope this helps.