Move setBrokerUri to the creation of the PubSub Endpoints