@Override
    public void close() {
        try {
            this.inProcessChannelFactory.close();
        } finally {
            this.alternativeChannelFactory.close();
        }
    }
Creates a new InProcessOrAlternativeChannelFactory with the given properties and channel factories.

@param properties The properties used to resolved the target scheme
@param inProcessChannelFactory The in process channel factory implementation to use.
@param alternativeChannelFactory The alternative channel factory implementation to use.
grpc-client-spring-boot-starter/src/main/java/net/devh/boot/grpc/client/channelfactory/InProcessOrAlternativeChannelFactory.java