Skip to content

refactor(consul): optimize ServiceInstance tags handling with registrarTags option #3698

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lin-snow
Copy link

What this PR does / why we need it

Optimizes tag handling for the Consul registry:

  • Introduces a new registrarTags option, allowing users to explicitly define the tags sent during service registration.
  • Adds the Tags field to ServiceInstance, enabling consistent retrieval on the discovery side.
  • Maintains backward compatibility.

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant