Snowplow Node.js Tracker 0.3.0 released


#1

Hello all,

We’re happy to announce the 0.3.0 release of Snowplow Node.js Tracker.

This release adds an agentOptions configuration object to the Node.js emitter. Use this to avoid events loss if you are sending huge event volumes, for example to bulk load events into Snowplow.

Here is an example:

var e = emitter('myscalastreamcollector.net', 'http', 8080, 'POST', 5, null, { 
  maxSockets: 6  // Otherwise Infinity will be used, which leads to pool exhausting
});

This is the standard Node.js HTTP module agentOptions, and other properties can be used to tune performance.

Any questions please let us know!