'what is the best way to laod data in cloudsearch domain using java sdk after its creation

Hi I want to load data into cloudsearch domain using java sdk from database. I am using terraform for creating cloudsearch domain. how can I trigger event which will load data into cloud search domain. for uploading data I will using java sdk.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source