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

Add new policy builder functions for constructing policies from EDN. #81

Merged
merged 1 commit into from
Apr 11, 2017

Conversation

jsofra
Copy link

@jsofra jsofra commented Apr 11, 2017

Add new builder functions to each policy namespace for constructing policies from simple EDN maps/keywords.

Each policy namespace now has a 'make' multimethod to allow for customisation of policy construction.

Update set-cluster-option! implementations to allow further cluster configuration without the need for Java interop.

This should allow cluster config to be largely specified in an EDN file.

Each of the policies load balancing, retry, reconnection and speculative execution may now be optional specified using keywords and option maps.

Also support for the identity address translator was added.

Documentation of the cluster function has been updated to reflect all of the new options.

The HdrHistogram policy dependency has been added to support the percentile speculative execution policies.

… from simple EDN maps/keywords.

Each policy namespace now has a 'make' multimethod to allow for customisation of policy construction.

Update set-cluster-option! implementations to allow further cluster configuration without the need for Java interop.

This should allow cluster config to be largely specified in an EDN file.

Each of the policies load balancing, retry, reconnection and speculative execution may now be optional specified using keywords and option maps.

Also support for the identity address translator was added.

Documentation of the cluster function has been updated to reflect all of the new options.

The HdrHistogram policy dependency has been added to support the percentile speculative execution policies.
@mpenet
Copy link
Owner

mpenet commented Apr 11, 2017

Thanks, that's a really nice addition. I'll probably make a release today

@mpenet
Copy link
Owner

mpenet commented Apr 11, 2017

released as 4.0.0-beta9

@jsofra
Copy link
Author

jsofra commented Apr 13, 2017

Thanks Max! that is really great.

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.

2 participants