Currently, the SDK needs to know beforehand the endpoints of the endorsers it uses in its chaincode invocation.
Additionally, it needs to know beforehand that the required chaincode has been installed on the peers.
On top of that, if the peers that the SDK interacts with fail or become unreachable - it cannot use Fabric at all.
The following proposal describes a service discovery capability that if introduced to Hyperledger Fabric - would remove the above restrictions.
Jim Zhang - This item requires collaboration with the SDK.