narcisoguillen / kafka-node-avro

ISC License
26 stars 13 forks source link

Allow user defined timestamp inside message #16

Closed alfamegaxq closed 4 years ago

alfamegaxq commented 4 years ago

From the documentation of the send method parameters:

timestamp : Date.now() // <-- defaults to Date.now() (only available with kafka v0.10 and KafkaClient only)

send method should be allowed to take timestamp as the parameter. For now, it was ignored.