You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ti...@apache.org on 2023/10/24 18:26:19 UTC

[pulsar-client-go] branch master updated: chore: Complete comment on ProducerInterceptor interface BeforeSend method (#1119)

This is an automated email from the ASF dual-hosted git repository.

tison pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-go.git


The following commit(s) were added to refs/heads/master by this push:
     new e3046f81 chore: Complete comment on ProducerInterceptor interface BeforeSend method (#1119)
e3046f81 is described below

commit e3046f81f20147cbba83609b7c31be39f8d8c7eb
Author: Oliver Muir <oj...@gmail.com>
AuthorDate: Tue Oct 24 19:26:13 2023 +0100

    chore: Complete comment on ProducerInterceptor interface BeforeSend method (#1119)
    
    Signed-off-by: Oliver Muir <ol...@arenko.group>
    Co-authored-by: Oliver Muir <ol...@arenko.group>
---
 pulsar/producer_interceptor.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pulsar/producer_interceptor.go b/pulsar/producer_interceptor.go
index cb2cc152..e18994cf 100644
--- a/pulsar/producer_interceptor.go
+++ b/pulsar/producer_interceptor.go
@@ -19,6 +19,7 @@ package pulsar
 
 type ProducerInterceptor interface {
 	// BeforeSend This is called before send the message to the brokers. This method is allowed to modify the
+	// message.
 	BeforeSend(producer Producer, message *ProducerMessage)
 
 	// OnSendAcknowledgement This method is called when the message sent to the broker has been acknowledged,