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 2021/09/08 05:43:20 UTC

[GitHub] [pulsar-client-go] GPrabhudas commented on a change in pull request #612: Encryption support ext consumer

GPrabhudas commented on a change in pull request #612:
URL: https://github.com/apache/pulsar-client-go/pull/612#discussion_r704064204



##########
File path: pulsar/impl_message.go
##########
@@ -215,6 +233,7 @@ type message struct {
 	replicatedFrom      string
 	redeliveryCount     uint32
 	schema              Schema
+	encryptionContext   EncryptionContext

Review comment:
       done

##########
File path: pulsar/message.go
##########
@@ -116,6 +116,10 @@ type Message interface {
 
 	//Get the de-serialized value of the message, according the configured
 	GetSchemaValue(v interface{}) error
+
+	// GetEncryptionContext get the ecryption context of message
+	// It will be used by the application to parse undecrypted message
+	GetEncryptionContext() EncryptionContext

Review comment:
       done




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