Skip to content

Exposing source id

Compare
Choose a tag to compare
@danield137 danield137 released this 21 Feb 14:35
· 315 commits to master since this release

BREAKING CHANGES:

None.

FEATURES:

  • Add the ability to set the source id of source descriptors. Useful for monitoring purposes (when reading statuses from queue, can correlate status via IngestionSourceId on status message).
const uuidv4 = require('uuid/v4');
let sourceId = uuidv4();
let fileDescriptor = new FileDescriptor("stormEvents.csv", sourceId);

ingestClient.ingestFromFile(fileDescriptor, ingestionProperties, (err) => {
//set up status queue monitoring..
});

FIXES:

None.