提交 6ec05f94 编写于 作者: S Sanjeev Kulkarni 提交者: Sijie Guo

If no brokerUrl is specified use localhost (#274)

上级 2e496461
......@@ -449,6 +449,9 @@ public class CmdFunctions extends CmdBase {
if (brokerServiceUrl != null) {
serviceUrl = brokerServiceUrl;
}
if (serviceUrl == null) {
serviceUrl = "pulsar://localhost:6650";
}
try (ProcessRuntimeFactory containerFactory = new ProcessRuntimeFactory(
serviceUrl, null, null, null)) {
List<RuntimeSpawner> spawners = new LinkedList<>();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册