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:48:55 UTC

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

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


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/intercept/BrokerInterceptor.java:
##########
@@ -77,6 +93,18 @@ default void producerCreated(ServerCnx cnx, Producer producer,
                                  Map<String, String> metadata){
     }
 
+    /**
+     * Called by the broker when a producer is closed.
+     *
+     * @param cnx      client Connection
+     * @param producer Consumer object
+     * @param metadata A map of metadata

Review Comment:
   `Consumer object` -> `Producer object` ?



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