How to deal with partial success bulk request?

if bulk request success with partial failure, should i retry all the bulk request or can i parse the response to get the failed items and just retry the failed items.
currently i try to improve the performance by retry the failed items not the whole bulk request, but it seams some items are lost, cannot search from elasticsearch.
The failure is caused by es_rejected_execution_exception for some nodes may be overloaded at some time.
AnyOne has any suggestion?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.