Job type, used as selector for strategies in job processors
Job payload
Custom headers, used to pass specific information for job processors
Custom options, used to pass specific information for job processors
Create a new instance for a firehose
Firehose name
Firehose options
Readonly
componentProvider unique identifier for trace purposes
Readonly
nameFirehose name
Return the status of the firehose in a standard format
check object as defined in the draft standard https://datatracker.ietf.org/doc/html/draft-inadarei-api-health-check-05
Return the metrics registry
Overall component status
Register an event listener over the done
event, which is emitted when a job has ended, either
due to completion or failure.
done
event
Done event listener
Removes the specified listener from the listener array for the done
event.
done
event
The listener function to remove
Add a listener for the error
event, emitted when the component detects an error.
Add a listener for the status event, emitted when the component status changes.
status
event
Status event listener
Register an event listener over the job
event, which is emitted when a new job is received
from a source.
job
event
Job event listener
Register an event listener over the done
event, which is emitted when a job has ended, either
due to completion or failure.
done
event
Done event listener
Register an event listener over the hold
event, which is emitted when the engine is paused due
to inactivity.
restart
event
Hold event listener
Registers a one-time event listener over the done
event, which is emitted when a job has
ended, either due to completion or failure.
done
event
Done event listener
Registers a event listener over the done
event, at the beginning of the listeners array,
which is emitted when a job has ended, either due to completion or failure.
done
event
Done event listener
Registers a one-time event listener over the done
event, at the beginning of the listeners
array, which is emitted when a job has ended, either due to completion or failure.
done
event
Done event listener
Removes the specified listener from the listener array for the done
event.
done
event
The listener function to remove
Firehose class Allows to create a firehose(DTL pipeline) instance to manage the flow of jobs between sources and sinks. Sinks are the final destination of the jobs, sources are the origin of the jobs and the engine is the processing unit that manages the flow of jobs between sources and sinks applying strategies to the jobs.