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

Allow ConnectionFactory to be override #456

Merged
merged 1 commit into from Aug 29, 2016
Merged

Allow ConnectionFactory to be override #456

merged 1 commit into from Aug 29, 2016

Conversation

tchiotludo
Copy link
Contributor

Changing the ConnectionFactory with the ClientBuilder::setConnectionFactory can't work since in AbstractConnectionPool class, it was not the ConnectionFactoryInterface that is waiting but the ConnectionFactory

Also added 2 missing properties declaration.

@polyfractal
Copy link
Contributor

Oof, you're right, thanks for the PR. Merging!

@polyfractal polyfractal merged commit cc2a5fe into elastic:master Aug 29, 2016
@tchiotludo
Copy link
Contributor Author

Thanks for the merge!
Just a question, do you want also a PR for the 2.x version ? or the dev-master will be compatible with ES 2.X ?

@polyfractal
Copy link
Contributor

I'm on the run at the moment and was going to cherry-pick the merge to 2.x when I got to my hotel tonight, but if you want to send a PR against 2.x branch that'd be even better! :)

dev-master (soon to be 5.x) should theoretically mostly work with 2.x, but there are a few backwards incompatible things (mostly deprecated/removed APIs), so it'd be good to merge this change to 2.x directly.

@tchiotludo tchiotludo deleted the bug/connection branch February 8, 2017 20:56
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

Successfully merging this pull request may close these issues.

None yet

2 participants