[Bug] The class loads InternalConfigHolder as a cache class and regenerates an object when used #3495
Open
3 tasks done
Labels
bug
Something isn't working
Search before asking
Java Version
Java 8
Scala Version
2.12.x
StreamPark Version
dev
Flink Version
flink all version
deploy mode
kubernetes-session
What happened
The class loads InternalConfigHolder as a cache class, and an object is regenerated when used (it should be the same one, otherwise the cache will become invalid, and everything will become the default value)
As follows:
Springboot startup
Springboot startup is completed, and the yaml configuration is refreshed into InternalConfigHolder through EnvInitializer
After springboot is started, click to start k8s sesssion deploy
It can be seen that after passing this classloader, InternalConfigHolder regenerates an object
Error Exception
No response
Screenshots
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: