I want to copy 30000 data from cassandra to elastic search,but I want to copy using bulk request(at a time 1000 data can be write to elastic search).
This is how I created bulk object
Builder bulkRequest = new Bulk.Builder();
And this is the logic to enter data in elastic search
How can I add 1000 record in bulk to index?