tjiuming commented on code in PR #16932:
URL: https://github.com/apache/pulsar/pull/16932#discussion_r943223099


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/nonpersistent/NonPersistentTopic.java:
##########
@@ -748,6 +749,14 @@ public void updateRates(NamespaceStats nsStats, 
NamespaceBundleStats bundleStats
                 topicStatsStream.writePair("msgThroughputOut", 
subMsgThroughputOut);
                 topicStatsStream.writePair("msgRateRedeliver", 
subMsgRateRedeliver);
                 topicStatsStream.writePair("type", 
subscription.getTypeString());
+
+                // Write entry filter stats
+                Dispatcher dispatcher0 = subscription.getDispatcher();

Review Comment:
   you're right, dispatcher can be null



-- 
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: [email protected]

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

Reply via email to