This change has caused a deadlock issue in OpenFeign. A ContextRefreshedEvent from a child context that we create in OpenFeign is being acted upon in DataSourceInitializedPublisher. Ignoring events from child contexts should solve the issue.