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.