Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] max_retry support for parallel_bulk #645

Closed
TomonoriSoejima opened this issue Sep 1, 2017 · 2 comments
Closed

[feature request] max_retry support for parallel_bulk #645

TomonoriSoejima opened this issue Sep 1, 2017 · 2 comments

Comments

@TomonoriSoejima
Copy link

parallel_bulk does not have max_retries parameter like other methods (streaming_bulk) does.

Please kindly consider adding it.

@mazzma12
Copy link
Contributor

would be nice, but i think it would need a bit of refactor. Currently the call to max_retry is processed in streaming_bulk(), but it should be moved to the inner function _process_bulk_chunk() to do so

@sethmlarson
Copy link
Contributor

You can now configured your client to have a max_retries value via .options(max_retries=...) and pass that client to parallel_bulk. Going to close this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants