Skip to content

Conversation

@p120ph37
Copy link

Add ability to filter the Consul discovery query by tags.

@p120ph37
Copy link
Author

p120ph37 commented Mar 2, 2021

Explanation:
In some cases, tags are used to separate deployed instances of a service by pool or version. This library already supports applying tags during the registration, however it did not support applying tags to the discovery. This patch adds that ability as an optional configuration property. I've tested it in the 1.0 branch (Hazelcast 3), but it should apply equivalently in the 2.0 branch (Hazelcast 4).

@bitsofinfo
Copy link
Owner

sorry, just seeing this now, haven't looked at the project in a while

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