Open quartex opened 11 months ago
Hello @quartex this is not supported at this point; we'll be adding support later this year and will be documented as it does. So far in Spring Cloud we have support for SC Commons, with the ContextRefresh and LoadBalancer. Supported projects can be tracked by what gets added to the CRaC smoke tests repo.
Hi Olga, no news about this support or any hints to do that ? Thanks a lot
Hi @quartex, unfortunately, not yet, since other tasks had higher priority. Will post any updates on it here.
This ended up being the only thing stopping our spring apps from using CRAC. Is there anything we can try?
I am going to have to think outside of the box... maybe a simple layer that will make an http call to the config server, set things, and end... should be more complicated than that right?
Hi jchesser-pci,I do not find any healthy solution for this problem and I do not understand how is possible that this problem appear to be uncommon yet.
Il martedì 19 novembre 2024 alle ore 21:09:05 CET, jchesser-pci ***@***.***> ha scritto:
This ended up being the only thing stopping our spring apps from using CRAC. Is there anything we can try?
I am going to have to think outside of the box... maybe a simple layer that will make an http call to the config server, set things, and end... should be more complicated than that right?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
Hi, I'm trying using Crac with Spring Cloud 2023 with all my microservices that use enviroment name (SPRING_PROFILES_ACTIVE) and Spring Cloud config to get all application settings. When I try to get a dump passing parameter spring.context.checkpoint=onRefresh to jvm an error is reported describing that are open streams (point to Config Server) and dump is not possible. I switched the Config server off in my application.yml with spring.cloud.config.enabled=false and the jvm get the dump with success but after restore all settings is not present and my applications does not start.
I tried to put in Jvm restore -e SPRING_PROFILES_ACTIVE=prod -e JAVA_TOOL_OPTIONS="-Dspring.cloud.config.enabled=true" but it does not work
I search for an example using Spring Cloud Config Server but is not present at the moment.
I would like to do a dump with the settings taken from the config server in a non-production environment and be able to set that the production ones are taken during the restore. Is it possible ?
Thanks a lot