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/09/05 09:55:06 UTC

[GitHub] [pulsar] aloyszhang commented on a diff in pull request #17269: [feature][broker]extend BrokerInterceptor for more scenes

aloyszhang commented on code in PR #17269:
URL: https://github.com/apache/pulsar/pull/17269#discussion_r962721374


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/intercept/BrokerInterceptors.java:
##########
@@ -93,17 +93,31 @@ public static BrokerInterceptor load(ServiceConfiguration conf) throws IOExcepti
         }
     }
 
+    @Override
+    public void onMessagePublish(Producer producer,
+                                 ByteBuf headersAndPayload,
+                                 Topic.PublishContext publishContext) {
+        for (BrokerInterceptorWithClassLoader value : interceptors.values()) {

Review Comment:
   Sure, 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