hostedextractors:READ and hostedextractors:WRITE capabilities.
Sources
A hosted extractor source represents an external source system on the internet. The source resource in CDF contains all the information the extractor needs to connect to the external source system. A source can have many jobs, each streaming different data from the source system.Jobs
A hosted extractor job represents the running extractor. Jobs produce logs and metrics that give the state of the job. A job can have nine different states:Job metrics
Jobs report metrics on their current execution. The following metrics are currently reported:For the Cognite MQTT extractor, see Message delivery and reliability for details about message delivery during disconnections.
Email notifications
Hosted extractor jobs expose state and metrics in CDF. Email notifications tell operators when a job enters an operational state you care about (for example an error or paused state) or returns to a healthy state. Notifications are delivered through the Signals API. Receive email notifications when a hosted extractor job changes status by creating signal sinks (email delivery targets) and signal subscriptions that match job status signals. Users with the appropriate access capabilities can configure notifications for any user. Scope All lets you configure notifications broadly and Current user limits configuration to yourself.The Signals API is documented as preview. Send the
cdf-version header your environment expects and review Beta API reference before you depend on this in production.Destinations
A hosted extractor writes to a destination. The destination only contains credentials for CDF. Multiple jobs can share a single destination, in which case they will make requests together, reducing the number of requests made to the Cognite APIs. Metrics will still be reported individually. For permanent deployments, the destination should be given a dedicated set of credentials. The credentials given to a destination should only grant access to the CDF resources the extractor needs to write based on the job’s mapping. See Data formats for details on mappings.Supported output types
Depending on the job format or mapping, a job can write to these CDF resource types:- Datapoints and time series
- Events
- RAW table rows
- Data model instances (nodes and edges)
- Records in streams
immutable_record output type and set beta to true.
For an end-to-end setup example, see Build a stream-to-stream transformation pipeline. This example covers source, destination, mapping, and job configuration for a hosted extractor that reads from one stream and writes transformed records to another.
Access capabilities
The CDF user creating an instance of a hosted extractor needs both thehostedextractors:READ and hostedextractors:WRITE capabilities.
For extra security, you can scope the access of the extractor to the data sets/spaces it writes to.