Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: kafka health indicator requires kafka configuration #937

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

rorueda
Copy link
Contributor

@rorueda rorueda commented Dec 15, 2023

When no kafka configuration is provided:

Error creating scheduled task for bean [HealthMonitorTask] Failed to inject value for parameter [defaultConfiguration] of class: io.micronaut.configuration.kafka.health.KafkaHealthIndicator

Message: No bean of type [io.micronaut.configuration.kafka.config.KafkaDefaultConfiguration] exists. The following matching beans are disabled by bean requirements: 
* Bean of type [io.micronaut.configuration.kafka.config.KafkaDefaultConfiguration] is disabled because: 
   - Required property [kafka] with value [null] not present

@sdelamo sdelamo merged commit b1193d7 into micronaut-projects:master Jan 15, 2024
1 check passed
@rorueda rorueda deleted the fix-health-indicator branch January 25, 2024 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants