Skip to content

Conversation

@TYsewyn
Copy link
Contributor

@TYsewyn TYsewyn commented Sep 24, 2019

No description provided.

@Configuration
@ConditionalOnBlockingDiscoveryEnabled
@ConditionalOnKubernetesDiscoveryEnabled
public static class KubernetesDiscoveryClientConfiguration {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why a nested class here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reactive service discovery needs the other beans too, and I didn't want to break backwards compatibility in case someone is doing weird stuff by disabling auto configuration and importing KubernetesDiscoveryClientAutoConfiguration .

Copy link
Member

@spencergibb spencergibb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same conditional change needed, otherwise LGTM

@TYsewyn TYsewyn added this to the 1.1.0.M3 milestone Oct 2, 2019
@TYsewyn TYsewyn merged commit 3181d0b into master Oct 2, 2019
@TYsewyn TYsewyn deleted the feature/reactive-discovery-client branch October 2, 2019 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants