Open klopfdreh opened 3 months ago
Thanks for the issue.
Which version are you using? We've released 2.0.0-M1
which is using Boot 3.3, I'm not sure it will make any difference but there is a chance that PrometheusRSocketClientAutoConfiguration
will create the client even if lazy-init is true.
Sorry - I didn’t mention it: Spring Boot 3.3 and Prometheus-RSocket-Client 2.0.0-M1
Currently we have an issue that the
PrometheusRSocketClientAutoConfiguration
does not initialize thePrometheusRSocketClient
when thelazy-initialization
is set totrue
.I guess this is because
PrometheusRSocketClient
is not required anywhere due to autowiring.Suggestion would be to add
@Lazy(false)
and test if this is working in this case.@onobc / @jonatan-ivanov WDYT?