Skip to content

#2919 Load eagerly the configuration, even the lazy-init enabled#2920

Merged
sobychacko merged 2 commits intospring-cloud:mainfrom
PatrikScully:feature/#2919-eager-loading-config-component
Mar 18, 2024
Merged

#2919 Load eagerly the configuration, even the lazy-init enabled#2920
sobychacko merged 2 commits intospring-cloud:mainfrom
PatrikScully:feature/#2919-eager-loading-config-component

Conversation

@PatrikScully
Copy link
Copy Markdown

Load eagerly the FunctionConfiguration, even with spring.main.lazy-initialization property enabled, because the listeners must initialize at startup, otherwise, they won't work.

fixes #2919

@sobychacko
Copy link
Copy Markdown
Contributor

@PatrikScully, Can you add your name as an author to the file?

@PatrikScully
Copy link
Copy Markdown
Author

@PatrikScully, Can you add your name as an author to the file?

Done, thank you.

@sobychacko sobychacko merged commit e03b993 into spring-cloud:main Mar 18, 2024
@PatrikScully PatrikScully deleted the feature/#2919-eager-loading-config-component branch March 19, 2024 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enabling lazy initialization breaks Kafka Listeners

2 participants