Exposing source id
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.