separated publisher and subscriber urls optionally