Skip to content

Guard the bootstrap of CompositeDiscoveryClientAutoConfiguration with property #1600

Description

@mipo256

Currently, whether you like it or not, the CompositeDiscoveryClientAutoConfiguration will create the CompositeDiscoveryClient, which in general is fine, but sometimes it is not. In our case, for instance, we want to use our own DiscoveryClient directly, we cannot really use the CompositeDiscoveryClient for various reasons.

So, that would be nice if there would be at least some ways to configure this behavior. For instance, to preserve backward behavioral compatibility by default CompositeDiscoveryClient is created, but some property would allow to omit the creation of CompositeDiscoveryClient bean.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions