One Star

MongoDB components donot support Dynamic schema

Hi,

 

I am using Talend RealTime Big Data Platform.

My use case is to migrate data from one mongoDB cluster to another.

The schema of the source mongoDb might change hence I need a dynamic schema to be specified, which I am unable to do so.

I have tried using a document datatype, but with no luck.

The document which is inserted in the destination is as follows:

{
    "_id" : ObjectId("591bf640b9be05de0ca17a5b"),
    "cols" : null
}

 

Is there any way in which the tMongoInput and tMongoOutput components support dynamic schema

2 REPLIES
Community Manager

Re: MongoDB components donot support Dynamic schema

Hi 

The MongoDB components don't support Dynamic schema now, a jira issue has been reported on our bugtracker. 

 

Regards

Shong

----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: MongoDB components donot support Dynamic schema

Hi Shong,

 

Is there any workaround for it??

Is there any way in which I can capture the new keys added in the source MongoDB ,

  when migrating to the Destination mongoDB without making any changes in the job?

 

Regards,

Rutula Sulakhe.