sanketkhotebsft opened a new issue, #1013:
URL: https://github.com/apache/pulsar-client-go/issues/1013

   #### Expected behavior
   The eventTime timestamp should be getting at the consumer side if its set at 
the time producing message
   
   #### Actual behavior
   
   after setting eventTIme in the producer message get event time as 0 in the 
consumed message.
   
   #### Steps to reproduce
   Set
   p.options.DisableBatching=true
   and produce messages with evenTime:
   `msg := &pulsar.ProducerMessage{
                EventTime: time.Now().UTC(),
                Payload: []byte(data),
        }`
   
   on the consumer side:
   `ts := msg.EventTime()`
   
   ts will get as a `1970-01-01 05:30:00 +0530 IST`
   
   #### System configuration
   **Pulsar version**: 0.10.0
   


-- 
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-unsubscr...@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to