public static PulsarSystem GetInstance(PulsarClientConfigBuilder conf, Action logSetup = null, Config config = null) { if (_instance == null) { lock (Lock) { if (_instance == null) { _instance = new PulsarSystem(conf, logSetup, config); } } } return(_instance); }
public static PulsarSystem GetInstance(ActorSystem actorSystem, PulsarClientConfigBuilder conf) { if (_instance == null) { lock (Lock) { if (_instance == null) { _instance = new PulsarSystem(actorSystem, conf); } } } return(_instance); }