spring-cloud / spring-cloud/spring-cloud-consul

Support for Consul initial status property

Open
#383 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
822
Forks
539
Avg merge
9h 31m
Merged PRs (30d)
7

Description

I am running consul watches to terminate ec2 instances when a service becomes critical. Consul has an option to set a services initial health status so that the watch script isn't triggered due to the initial status being set to critical by default.

I can't find any documentation regarding support for this in spring boot consul discovery. Are there any plans to support this feature?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No implementation file or test is named. Start by reviewing Spring Cloud Consul discovery's service-registration configuration and compare it with Consul's initial health status option; clarify the expected property, registration behavior, and compatibility before implementation. Done means the option is supported and covered by tests or documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring, spring-boot
Domain
backend, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.