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 2019/07/31 04:39:38 UTC

[GitHub] [pulsar-client-go] wolfstudy opened a new issue #33: Fields other than payload in ProducerMessage cannot be received normally.

wolfstudy opened a new issue #33: Fields other than payload in ProducerMessage cannot be received normally.
URL: https://github.com/apache/pulsar-client-go/issues/33
 
 
   **Is your feature request related to a problem? Please describe.**
   
   ProducerMessage contains these fields:
   
   ```
   type ProducerMessage struct {
   	// Payload for the message
   	Payload []byte
   
   	// Key sets the key of the message for routing policy
   	Key string
   
   	// Properties attach application defined properties on the message
   	Properties map[string]string
   
   	// EventTime set the event time for a given message
   	EventTime *time.Time
   
   	// ReplicationClusters override the replication clusters for this message.
   	ReplicationClusters []string
   
   	// SequenceID set the sequence id to assign to the current message
   	SequenceID *int64
   }
   ```
   
   Fields other than payload in ProducerMessage cannot be received normally.
   
   **Describe the solution you'd like**
   
   When receiving a message, if the user sets other fields such as PartitionKey or Properties, these fields should be received correctly.
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services