@Bean("APDiscoveryProcessor")
    public DiscoveryProcessor discoveryAPProcessor(final DiscoveryUpstreamMapper discoveryUpstreamMapper) {
        return new APDiscoveryProcessor(discoveryUpstreamMapper);
    }
discoveryLocalProcessor.

@param discoveryUpstreamMapper discoveryUpstreamMapper
@return DiscoveryProcessor
shenyu-admin/src/main/java/org/apache/shenyu/admin/config/DiscoveryConfiguration.java