Skip to main content
Answer

Configure Cognite MQTT Extractor without UI

  • February 5, 2024
  • 2 replies
  • 98 views

Is there any way like extraction pipeline apis to configure for Cognite MQTT Extractor?

Best answer by mathialo

Yes! We offer this through endpoints under `/api/v1/projects/{your-project}/hostedextractors`.

You can read about some of the high level concepts of that API here: https://docs.cognite.com/cdf/integration/guides/extraction/hosted_extractors

And the reference docs for the API can be found here:

https://api-docs.cognite.com/20230101-beta/tag/Sources
https://api-docs.cognite.com/20230101-beta/tag/Jobs
https://api-docs.cognite.com/20230101-beta/tag/Destinations

For MQTT, you would add a source with type ‘mqtt’, then create a destination with a set of credentials, and finally create jobs (which is where you subscribe to topics, etc)

2 replies

  • Practitioner
  • Answer
  • February 5, 2024

Yes! We offer this through endpoints under `/api/v1/projects/{your-project}/hostedextractors`.

You can read about some of the high level concepts of that API here: https://docs.cognite.com/cdf/integration/guides/extraction/hosted_extractors

And the reference docs for the API can be found here:

https://api-docs.cognite.com/20230101-beta/tag/Sources
https://api-docs.cognite.com/20230101-beta/tag/Jobs
https://api-docs.cognite.com/20230101-beta/tag/Destinations

For MQTT, you would add a source with type ‘mqtt’, then create a destination with a set of credentials, and finally create jobs (which is where you subscribe to topics, etc)


  • Author
  • Committed
  • February 6, 2024

Thanks @mathialo.