-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Switch to Consul as default service discovery mechanism #19109
Comments
Agree with this change |
It's a bit sad to replace Eureka by a proprietary solution that offers a very expensive Enterprise version. |
@gmarziou for the moment, its imporatnt to provide a stable option as default. I'm also not happy with providing Consul as default but unless we implement a replacement with Spring Cloud Zookeeper or something we should provide Consul as default. We can switch it back when we have something as replacement. WDYT? |
@gmarziou i'm not very familiar with zookeeper, do you think we can replace Eureka with Spring cloud zookeeper for JH Registry? if so can you create a ticket with some details so we can put a bounty on it and if it gets done before v8, we can make that the default |
Consul as a short term solution is perfect. I don't have any experience with Zookeeper itself, I only know about it through other tools like Kafka. Few 3rd party UI projects exist for it. Hazelcast can use it. So, on paper, it looks like a good Eureka replacement. So maybe the right approach is to integrate only the discovery client and forget about providing a server and consider that service discovery should be done by the infra structure (Consul, Kubernetes, AWS, Azure, ...). The cool thing about Consul and Zookeeper is that we don't need a cloud account to run a microservices architecture, we can just run them locally using docker-compose. |
@gmarziou yes thats the main reason why I proposed making consul the default. JHipster registry can still be used (but IMO we should remove it as its unmaintained, maybe by offering a zookeeper version or something) so are you ok to proceed with this change (making consul default) for v8? |
It's possible to drop consul-loader docker image? |
@mshima not at the moment as its used to load the shared configuration for the microservices. If we drop it, we need to find an alternative for that |
increased the bounty as its way too much work |
Since consul is the default, would be nice to have m1 support at consul-loader. |
Could you explain what you mean by m1 support?
…On Tue, 14 Mar 2023, 13:15 Marcelo Shima, ***@***.***> wrote:
Since consul is the default, would be nice to have m1 support at
consul-loader.
I tried to update consul loader, but the dependencies are unmaintained for
a long time.
—
Reply to this email directly, view it on GitHub
<#19109 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIOKF6CY7HNGOWWARDN2VTW4BONXANCNFSM53AXRPIA>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
Sorry. Apple silicon (m1). consul-loader image runs in compat mode. |
I'm not familiar with macs. But what does it do when it runs in that mode.
Does it matter in development? Coz I guess no one is gonna run production
on macs right?
…On Fri, 17 Mar 2023, 17:00 Marcelo Shima, ***@***.***> wrote:
Sorry. Apple silicon (m1). consul-loader image runs in compat mode.
—
Reply to this email directly, view it on GitHub
<#19109 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIOKF5EUW2RLUFLZCCQD3DW4SDCDANCNFSM53AXRPIA>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
@colameo I don't see anything to update in JHipster IDE for this. Let me know if you think otherwise |
bounty claimed (after a year 🤣 ) https://opencollective.com/generator-jhipster/expenses/156618 |
@deepu105 : approved. Can this ticket be closed? |
@pascalgrimaud thanks. i'll close it once the docs PRis merged |
Since eureka is kind of unmaintained and JHipster registry is deprecated and JHCC is unmaintained, it makes sense to make Consul the default service discovery mechanism in JHipster.
The text was updated successfully, but these errors were encountered: