aahmed-se commented on a change in pull request #2078: Enhance Pulsar cluster 
with container logs
URL: https://github.com/apache/incubator-pulsar/pull/2078#discussion_r199938697
 
 

 ##########
 File path: 
tests/integration-tests-topologies/src/main/java/org/apache/pulsar/tests/topologies/PulsarCluster.java
 ##########
 @@ -72,26 +83,45 @@ public static PulsarCluster forSpec(PulsarClusterSpec 
spec) {
     private final ProxyContainer proxyContainer;
 
     private PulsarCluster(PulsarClusterSpec spec) {
+
         this.spec = spec;
         this.clusterName = spec.clusterName();
         this.network = Network.newNetwork();
+
         this.zkContainer = new ZKContainer(clusterName)
+            .withLogConsumer(new 
Slf4jLogConsumer(log).withPrefix(ZKContainer.NAME))
             .withNetwork(network)
             .withNetworkAliases(ZKContainer.NAME)
+            .withCreateContainerCmdModifier(createContainerCmd -> {
 
 Review comment:
   will remove it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to