Skip to content

Commit

Permalink
Fix: discovery service logs (apache#897)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdhabalia authored and merlimat committed Nov 10, 2017
1 parent 29bd6c9 commit 6278855
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,13 @@ public void startServer() throws Exception {
bootstrap.childHandler(new ServiceChannelInitializer(this, config, false));
// Bind and start to accept incoming connections.
bootstrap.bind(config.getServicePort()).sync();
LOG.info("Started Pulsar Broker service on port {}", config.getWebServicePort());
LOG.info("Started Pulsar Discovery service on port {}", config.getWebServicePort());

if (config.isTlsEnabled()) {
ServerBootstrap tlsBootstrap = bootstrap.clone();
tlsBootstrap.childHandler(new ServiceChannelInitializer(this, config, true));
tlsBootstrap.bind(config.getServicePortTls()).sync();
LOG.info("Started Pulsar Broker TLS service on port {}", config.getWebServicePortTls());
LOG.info("Started Pulsar Discovery TLS service on port {}", config.getWebServicePortTls());
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static void init(String configFile) throws Exception {
checkArgument(!isEmpty(config.getZookeeperServers()), "zookeeperServers must be provided");
checkArgument(!isEmpty(config.getGlobalZookeeperServers()), "global-zookeeperServers must be provided");

// create broker service
// create Discovery service
DiscoveryService discoveryService = new DiscoveryService(config);
// create a web-service
final ServerManager server = new ServerManager(config);
Expand Down

0 comments on commit 6278855

Please sign in to comment.