question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for Spring Boot

See original GitHub issue

We should provide a spring-boot starter for jetcd and eventually get it included in official spring-boot repo once stable.

That would allow people working with spring boot to configure jetcd via properties like:

jetcd.endpoints[0] = http://node-1:2379
jetcd.endpoints[1] = http://node-2:2379
jetcd.user.name = user
jetcd.user.password = pwd
...

And then using IOC to inject jetcd instance like:

class MyApp {
    @Autowired
    private JEtcd client;
}

Or even a specific client:

class MyApp {
    @Autowired
    private KV client;
}

I can work on this if there is any interest.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
lburgazzolicommented, Oct 5, 2017

I think there should be a standalone spring-boot-starter-etcd on which spring-cloud-etcd should be based as not everyone requires spring-cloud bits.

1reaction
ScienJuscommented, Oct 5, 2017

@skyao

I totally agree with you.

My Spring Cloud Etcd was created to replace Spring Cloud Consul. it will work with Spring Cloud Feign without any changes.maybe in the future, it can also replace Spring Cloud Consul Config.

If you need, I am willing to participate in your new project.

@lburgazzoli

yes, in spring-boot-starter-etcd we can create auto-configure for clients and health check.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring Boot
Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription. Learn more. Upcoming events. Check out all...
Read more >
Supported Versions · spring-projects/spring-boot Wiki - GitHub
Spring Boot follows the VMware Tanzu OSS support policy for critical bugs and security issues. ... Commercial support is also available from ...
Read more >
Red Hat support for Spring Boot
Red Hat offers support and maintenance over stated time periods for the major versions of Spring Boot. Life-Cycle and Subscription Services. Support Program...
Read more >
Spring Boot support in Visual Studio Code
Visual Studio Code is an ideal lightweight development environment for Spring Boot application developers and there are several useful VS Code extensions ...
Read more >
Spring Boot | IntelliJ IDEA Documentation - JetBrains
Spring Boot is an extension of the Spring framework that simplifies the initial configuration of Spring applications.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found