These are chat archives for spring-cloud/spring-cloud

1st
Mar 2018
salaboy
@salaboy
Mar 01 2018 09:09
@kentoj :)
+1
:+1:
MohanJagadheeswaran
@MohanJagadheeswaran
Mar 01 2018 14:46
can we change the spring logo in spring cloud data flow local server?
can we customize it?
pradeepkusingh
@pradeepkusingh
Mar 01 2018 17:21
@dsyer @spencergibb how can I stop a service registering in eureka while deployment ?
spring.cloud.service-registry.auto-registration.enabled=true
is this the right property to stop auto registered of client ?
Spencer Gibb
@spencergibb
Mar 01 2018 17:24
I think so
pradeepkusingh
@pradeepkusingh
Mar 01 2018 17:26
this is client side or eureka server side ?
Dave Syer
@dsyer
Mar 01 2018 17:27
Eureka server is a client. So both, potentially.
What about eureka.client.enabled=false?
That probably works too?
pradeepkusingh
@pradeepkusingh
Mar 01 2018 17:27
ok, let me try
Thank you :)
Nope, it didn't help.. I am still seeing client getting registered in Eureka
I specified above properties in my client app properties
and restarted app..
Spencer Gibb
@spencergibb
Mar 01 2018 17:31
registry is only client side
pradeepkusingh
@pradeepkusingh
Mar 01 2018 17:31
ok, but it didn't work
I specified above properties in my client app properties
and restarted app.. and app got registered in eureka
Spencer Gibb
@spencergibb
Mar 01 2018 17:32
eureka.client.enabled=false should also work. Version? What does /autoconfig say?
pradeepkusingh
@pradeepkusingh
Mar 01 2018 17:36
one sec
EurekaClientAutoConfiguration: {
notMatched: [
{
condition: "OnPropertyCondition",
message: "@ConditionalOnProperty (eureka.client.enabled) found different value in property 'eureka.client.enabled'",
}
],
Spencer Gibb
@spencergibb
Mar 01 2018 17:37
that looks right
you never answered what version
pradeepkusingh
@pradeepkusingh
Mar 01 2018 17:38
UP (2) - f1d7da20-171e-475a-630f-01cf , e6a10552-31eb-4af3-53aa-3220
one second
I am thinking this might be self preservation mode triggered
Eureka client 1.7.0
Spencer Gibb
@spencergibb
Mar 01 2018 17:39
spring cloud netflix version
pradeepkusingh
@pradeepkusingh
Mar 01 2018 17:40
Spring -cloud-starter 1.3.0
netflix core : 1.4.0
Spencer Gibb
@spencergibb
Mar 01 2018 17:42
yeah, that might not affect registration now that I'm looking at it
check spring.cloud.service-registry.auto-registration.enabled in /autoconfig
pradeepkusingh
@pradeepkusingh
Mar 01 2018 17:44
ok, sure
AutoServiceRegistrationAutoConfiguration: {
notMatched: [
{
condition: "OnPropertyCondition",
message: "@ConditionalOnProperty (spring.cloud.service-registry.auto-registration.enabled) found different value in property 'spring.cloud.service-registry.auto-registration.enabled'",
}
],
matched: [ ],
},
AutoServiceRegistrationConfiguration: {
notMatched: [
{
condition: "OnPropertyCondition",
message: "@ConditionalOnProperty (spring.cloud.service-registry.auto-registration.enabled) found different value in property 'spring.cloud.service-registry.auto-registration.enabled'",
}
],
matched: [ ],
},
pradeepkusingh
@pradeepkusingh
Mar 01 2018 17:54
it worked.. I restarted my eureka servers to get rid of SelfPreservationMode and it did hte trick
Thank you @spencergibb and @dsyer