You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/03/10 14:08:26 UTC

[GitHub] [pulsar] Technoboy- commented on a change in pull request #14643: Optimize heartbeat topic not trigger compaction.

Technoboy- commented on a change in pull request #14643:
URL: https://github.com/apache/pulsar/pull/14643#discussion_r823755156



##########
File path: pulsar-broker/src/test/java/org/apache/pulsar/compaction/CompactionTest.java
##########
@@ -1655,4 +1661,14 @@ public void testReadUnCompacted(boolean batchEnabled) throws PulsarClientExcepti
             assertNull(none);
         }
     }
+
+    @SneakyThrows
+    @Test
+    public void testHealthCheckTopicNotCompacted() {
+        NamespaceName heartbeatNamespaceV2 = NamespaceService.getHeartbeatNamespaceV2(pulsar.getAdvertisedAddress(), pulsar.getConfiguration());
+        String topic = heartbeatNamespaceV2.toString() + "/healthcheck";
+        pulsarClient.newProducer().topic(topic).create();

Review comment:
       Ok. fixed.




-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org