codelipenghui commented on a change in pull request #6774:
URL: https://github.com/apache/skywalking/pull/6774#discussion_r617186735



##########
File path: 
test/plugin/scenarios/pulsar-scenario/src/main/java/test/apache/skywalking/apm/testcase/pulsar/controller/CaseController.java
##########
@@ -51,38 +51,37 @@ public String pulsarCase() throws PulsarClientException, 
InterruptedException {
 
         String topic = "test";
 
+        CountDownLatch latch = new CountDownLatch(1);
+
         PulsarClient pulsarClient = 
PulsarClient.builder().serviceUrl(PULSAR_DOMAIN + serviceUrl).build();
 
         Producer<byte[]> producer = 
pulsarClient.newProducer().topic(topic).create();
 
-        Consumer<byte[]> consumer = 
pulsarClient.newConsumer().topic(topic).subscriptionName("test").subscribe();
+        Consumer<byte[]> consumer = pulsarClient.newConsumer().topic(topic)

Review comment:
       The consumer might disabled the message listener, it not a required 
feature for users to consume messages.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to