Skip to main content

Big export file split up, breaks integration

Comments

5 comments

  • Official comment
    Seema Appai

    Hi Erik,

    Entity count in a file can be controlled through batchSize. Since this is scheduled export collect profile will play important role here. In the collect profile under publish you can define batchSize and that many parent entity will be available in one file along with related entities and if it exceeds the entity count it will split into multiple file but it will not loose parent child combination.

    Regarding shortening the json data by eliminating the syndigo generated content sounds good idea but we do not support this. Kindly raise a feature request for this.

    Thanks! 

  • Eric Sambach

    Hi Erik

    Can we reduce the size of the JSON files, by leaving out data that Syndigo puts in by default but we don't need for our integrations.

    For example currently we get these details for an attribute in the JSON:
                        "characteristic3value": {
                            "values": [
                                {
                                    "id": "4_0_0",
                                    "value": "18",
                                    "locale": "en-GB",
                                    "os": "businessRule",
                                    "osid": "computevzacpattributesfromenhancer_businessRule",
                                    "ostype": "businessRule",
                                    "source": "internal"
                                }
                            ]
                        },

    Where what we need for our integration is only this:

                        "characteristic3value": {
                            "values": [
                                {
                                    "value": "18",
                                    "locale": "en-GB",
                                }
                            ]
                        },

    Unfortunately, no. We requested this several years ago. The response we got back then was "if enough ask for it, it might be done". So, please create a feature request for it.

    Regarding your main problem, it might be possible to greatly reduce the batch size of the export profile, so that hopefully the parents and child entities are kept together - I'm not sure that will work, but it might be worth a try.

     

     

    0
  • Erik
    Conversation starter

    Hi Eric,

    Thanks for your response, we will create the feature request.
    There is not much we can do about the size of the batch, since they can even create a too big batch by 200 child objects, that have different parents with big sets of child objects.
    And if this goes wrong it causes a mayor incident.

    We'll have a look at redesigning the whole integration, if we don't find a fix for this issue.

    0
  • Eric Sambach

    Hi Erik

    Have you experimented with adjusting the batchSize's?

    Below you can see that there are 2 batchSize properties - try adjusting the publish batch size - try the value "2" to see if that restricts the total count or the parent count?

    0
  • Erik
    Conversation starter

    Hi Eric,

    Yes we tried that, but we did not manage to have the files split up in such a way the parent and child were always grouped in one file.

    0

Please sign in to leave a comment.