-
Notifications
You must be signed in to change notification settings - Fork 614
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KafkaBinderConfigurationProperties metadata
When generating configuration metadata (spring-configuration-metadata.json), KafkaBinderConfigurationProperties class is missing all the information except for the constructor bound KafkaProperties. We need to add the @Autowired on the constructor so that Boot will not do a constructor binding and thus include all the JavaBeans style properties in the metadata. See this Boot issue for more details. spring-projects/spring-boot#34031 In addition, this @Autowired is necessary for the properties to be correctly bound when running in native mode. Resolves #2640 Resolves #2644
- Loading branch information
1 parent
bde556a
commit 4100f27
Showing
3 changed files
with
84 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters