Skip to content

Commit 28143db

Browse files
GeoffreyHervetStephen Parente
authored and
Stephen Parente
committed
Fix producer documentation (Blizzard#643)
1 parent 8cd1e9e commit 28143db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/producer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ producer.on('ready', function(arg) {
5050
var headers = [
5151
{ header: "header value" }
5252
]
53-
producer.produce(topicName, partition, value, key, new Date(), "". headers);
53+
producer.produce(topicName, partition, value, key, Date.now(), "", headers);
5454
}
5555

5656
//need to keep polling for a while to ensure the delivery reports are received

0 commit comments

Comments
 (0)