You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2019/02/04 16:51:48 UTC

[pulsar] branch master updated: Make PulsarStandalone.start() public to be called in Embedded mode (#3516)

This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new e1ed181  Make PulsarStandalone.start() public to be called in Embedded mode (#3516)
e1ed181 is described below

commit e1ed181896ae88a79d3484b0be2a2b72035bded8
Author: Ganesh Subramanian <su...@gmail.com>
AuthorDate: Mon Feb 4 22:21:43 2019 +0530

    Make PulsarStandalone.start() public to be called in Embedded mode (#3516)
---
 pulsar-broker/src/main/java/org/apache/pulsar/PulsarStandalone.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pulsar-broker/src/main/java/org/apache/pulsar/PulsarStandalone.java b/pulsar-broker/src/main/java/org/apache/pulsar/PulsarStandalone.java
index 4ad918b..feabe02 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar/PulsarStandalone.java
+++ b/pulsar-broker/src/main/java/org/apache/pulsar/PulsarStandalone.java
@@ -240,7 +240,7 @@ public class PulsarStandalone implements AutoCloseable {
     @Parameter(names = { "-h", "--help" }, description = "Show this help message")
     private boolean help = false;
 
-    void start() throws Exception {
+    public void start() throws Exception {
 
         if (config == null) {
             System.exit(1);