jerrypeng commented on a change in pull request #184: Dead letter queue 
implementation
URL: https://github.com/apache/pulsar-client-go/pull/184#discussion_r379010143
 
 

 ##########
 File path: pulsar/consumer_partition.go
 ##########
 @@ -402,23 +404,27 @@ func (pc *partitionConsumer) MessageReceived(response 
*pb.CommandMessage, header
                var msg *message
                if smm != nil {
                        msg = &message{
-                               publishTime: 
timeFromUnixTimestampMillis(msgMeta.GetPublishTime()),
-                               eventTime:   
timeFromUnixTimestampMillis(smm.GetEventTime()),
-                               key:         smm.GetPartitionKey(),
-                               properties:  
internal.ConvertToStringMap(smm.GetProperties()),
-                               topic:       pc.topic,
-                               msgID:       msgID,
-                               payLoad:     payload,
+                               publishTime:         
timeFromUnixTimestampMillis(msgMeta.GetPublishTime()),
+                               eventTime:           
timeFromUnixTimestampMillis(smm.GetEventTime()),
+                               key:                 smm.GetPartitionKey(),
+                               properties:          
internal.ConvertToStringMap(smm.GetProperties()),
+                               topic:               pc.topic,
+                               msgID:               msgID,
+                               payLoad:             payload,
+                               replicationClusters: msgMeta.GetReplicateTo(),
 
 Review comment:
   why is this added?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to