Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
IrwanAfandiGDP
Contributor
Contributor

Local Configuration setting for _maxBatchSize.value

Hello... could someone help me to give an example how to change the value of

_maxBatchSize.value

(the default value is 1000 and I want 20000). The documentation said like this, but I'm still confused how to implement it on LocalConfiguration.

0695b00000EcDrFAAV.png

My second question, how do I know that the iteration is the last batch iteration (iteration comes from

@ElementListener

) on

@AfterGroup

? Because I want to run my function after all the data is loaded. Thank you

Labels (5)
3 Replies
undx
Creator
Creator

Hi @Mohamad Irwan Afandi,

 

For the local-configuration.properties, you'll find some samples below:

- https://github.com/Talend/connectors-se/blob/master/marketo/src/main/resources/TALEND-INF/local-configuration.properties

- https://github.com/Talend/connectors-se/blob/master/salesforce/src/main/resources/TALEND-INF/local-configuration.properties

 

For you 2nd question, you cannot know it in @AfterGroup... for that you may use the @PreDestroy annotation (see

https://talend.github.io/component-runtime/main/1.33.0/component-execution.html) of

connectors' lifecycle. But be aware that implementing some actions like this in the @PreDestroy is not officially

supported (best effort) in Cloud environments and should only be used to release some acquired resources...

 

Best regards

 

 

IrwanAfandiGDP
Contributor
Contributor
Author

Thank you @Emmanuel GALLOIS​ , this really helped me

undx
Creator
Creator

You're welcome! 😉