cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How Batch Mode modifier different from Distributed Impex?

Former Member
0 Likes
1,716

Hi,

What's the difference between "batchMode=true" and distributed impex. I believe both create a batch of value line and persist in the database.

I have gone through help and I found that distributed impex use whole cluster to import?

Is there any technical difference?

Regards,

Yashwanth

Accepted Solutions (1)

Accepted Solutions (1)

arvind-kumar_avinash
Active Contributor

They serve different purposes.

Distributed ImpEx enables us to import data using the whole cluster. Whereas batchMode=true with an ImpEx, is applicable for a single machine as well as a cluster.

Using batchMode=true, you ask Hybris to modify more than one item that matches for a combination of all unique attributes of a value line. If for a value line more than one item is found that matches the combination of unique attributes, the attributes specified as non-unique are updated at all found items.

You can also refer my answer https://answers.sap.com/questions/12771133/please-give-me-an-example-about-impex-update-using-1.html... for an example of batchMode=true.

Further reading:

  1. https://help.hybris.com/1811/hcd/3e0138c9bfc642349cad227cfcd72d9f.html

  2. https://help.hybris.com/1811/hcd/ccf4dd14636b4f7eac2416846ffd5a70.html

  3. https://help.hybris.com/1811/hcd/8047652bfb3b4062837dbc6ca73582ab.html

Former Member
0 Likes

Thanks for the reply. So basically batchMode is used to update or remove the line item which is present in database and it does not uses task engine to process the data where as distributed impex makes use of task engine which works well in the cluster and process the value line in batch.

arvind-kumar_avinash
Active Contributor
0 Likes

You are most welcome. Your understanding is correct.

Answers (0)