Table of Contents

Search

  1. Preface
  2. Informatica Intelligent Cloud Services REST API
  3. Platform REST API version 2 resources
  4. Platform REST API version 3 resources
  5. Data Integration REST API
  6. Mass Ingestion Files REST API
  7. Mass Ingestion Streaming REST API
  8. Model Serve REST API
  9. RunAJob utility
  10. ParamSetCli utility
  11. REST API codes
  12. REST API resource quick references

REST API Reference

REST API Reference

Connection configuration for tasks with Azure Event Hubs as a target

Connection configuration for tasks with Azure Event Hubs as a target

When the target connection of the task target is Azure Event Hubs, you can include the following fields and key-value pairs in the config array of the target connection:
Key
Type
Required
Description
sasPolicyName
String
-
The name of the Event Hub Namespace Shared Access Policy.
You can enter a string of up to 255 characters.
sasPolicyPrimaryKey
String
-
The primary key of the Event Hub Namespace Shared Access Policy.
You can enter a string of up to 255 characters.
Event Hub
String
Yes
The name of the Azure Event Hubs.
You can enter a string up to 255 characters. The name can contain lower case characters, upper case characters, numbers, and the special characters - and _.

POST request example

To update a
streaming ingestion
task with a flat file source and an Azure Event Hubs target, you might send a request similar to the following example:
{ "name": "flatfile to azure event hub", "description": "flatfile to azure event hub", "runtimeId": "01000025000000000003", "locationId": "5sJ0JDyJyWLlrosS5qJjsQ", "currentVersion": "2", "messageFormat": "binary", "nodes": [ { "name": "flatfile to azure event hub_source", "type": "source", "connectionId": "012MGS0B00000000002N", "transformationType": "", "config": [ { "key": "File", "value": "logfile" }, { "key": "initialPosition", "value": "Current Time" }, { "key": "rolloverPattern", "value": "test" }, { "key": "tailingMode", "value": "Single file" } ] }, { "name": "flatfile to azure event hub_target", "type": "target", "connectionId": "012MGS0B00000000001S", "transformationType": "", "config": [ { "key": "sasPolicyName", "value": "test" }, { "key": "sasPolicyPrimaryKey", "value": "test" }, { "key": "Event Hub", "value": "test" } ] } ], "edges": [ { "from": "flatfile to azure event hub_source", "to": "flatfile to azure event hub_target" } ] }

0 COMMENTS

We’d like to hear from you!