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 Spring Boot Starter failing with lazy init #1227

Merged
merged 1 commit into from
Apr 13, 2020

Conversation

trask
Copy link
Member

@trask trask commented Apr 8, 2020

In Spring 2.2.x, adding this new flag to application.properties:

spring.main.lazy-initialization=true

causes our spring boot starter not to create and register the TelemetryChannel (because no one depends on that bean, so it is never created in "lazy" mode), and so NopTelemetryChannel is used and no telemetry is sent.

@trask trask requested a review from littleaj April 8, 2020 22:06
@trask trask merged commit d989207 into master Apr 13, 2020
@trask trask deleted the fix-spring-boot-starter-with-lazy-init branch April 13, 2020 16:16
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.

2 participants