Table of Contents

Search

  1. Preface
  2. Introduction to Cloud Integration Hub
  3. Hub administration
  4. Project and Asset Management
  5. Applications
  6. Topics
  7. Data Integration tasks
  8. Publications
  9. Subscriptions
  10. Tracking and monitoring
  11. Cloud Integration Hub REST APIs
  12. Glossary

Cloud Integration Hub

Cloud Integration Hub

Creating a subscription that triggers a Data Integration task

Creating a subscription that triggers a Data Integration task

Use the Navigator to create subscriptions that trigger a
Data Integration
task to retrieve the data from the topic or topics in the
Cloud Integration Hub
publication repository.
The following conditions must exist before you create a subscription:
  • An application or applications that consume data must exist. You can either use existing applications, or create and save new applications.
  • A topic from which to consume data must exist. You can either use an existing topic, or create and save a new topic.
  • If the subscription triggers a mapping task, a subscription task must exist in
    Data Integration
    . If the subscription triggers a synchronization task, you can either select a subscription task that exists in
    Data Integration
    or create the task.
You can also create subscriptions on the topic page. For more information, see Creating a topic.
  1. On the Navigator, click
    New
    Subscription
    .
    The
    New Subscription
    page appears.
  2. Enter the subscription name. Optionally, enter a description for the subscription.
  3. Choose the subscription mode, enabled or disabled.
    A disabled subscription does not run according to schedule or by an external API. You can only run a disabled subscription from the
    Explore
    page or from the topic page of the topic that the subscription subscribes to.
  4. Select
    Consume data with a Data Integration task
    .
  5. Optionally, select
    Unbound Subscription
    .
    An unbound subscription is not restricted to specific publication instances. It consumes all the data that exists in the publication repository for the topics that the subscription subscribes to.
  6. Choose the application that subscribes to the data.
  7. Choose the topic from which the application consumes the data and then click
    Add Topic
    . Add as many topics as required.
  8. If you added more than one topic to the subscription, specify the maximum number of hours to wait for all associated publications to finish publishing the data, after the first publication is ready for consumption.
    • If all the publications finish publishing the data during the time interval, the subscription process starts after the last publication is ready for consumption.
    • If one or more of the publications do not finish publishing the data during the time interval, the subscription process is cancelled and no data is delivered.
  9. If the task that defines the subscription mapping exists in
    Data Integration
    , choose the task. If not, click
    Create New Task
    to create a synchronization task.
  10. To create a synchronization task, enter the following properties in the
    Create New Task
    window and click
    Create
    :
    Task Name
    Enter a name for the task.
    The name of the task must be unique within the organization. The task name is not case sensitive.
    The task name can contain alphanumeric characters, spaces, and the following special characters: _ . + -
    Source
    Select the topic table to consume data from. The format of the object is
    TopicName/tableName
    .
    Connection
    Select the connection that connects to the target to consume data to.
    Target
    Select the target table to consume the data to. The
    Create New Task
    window shows the first 200 tables in the list.
    Cloud Integration Hub
    creates the task in the default folder and assigns the task to the subscription.
  11. If the subscription subscribes to large amounts of data, increase the read batch size to optimize the performance of the subscription.
    Increasing the batch size increases the memory consumption of the Secure Agent and might impact the performance of the Secure Agent machine.
  12. Select the method and the frequency of data consumption.
    When published data is ready
    Runs the subscription immediately after the published data is ready.
    Manually or by an external trigger
    No schedule. You can use the following methods to run the subscription:
    • Run manually from the
      Cloud Integration Hub
      explorer.
    • Run by an API. Call a command-line API or a REST API that starts the subscription.
    If a file subscription uses this scheduling option and publishes multiple files, all the files must be present in the source location when the subscription starts.
    By schedule
    Runs the subscription according to the defined schedule. Select one of the following options:
    • Every n minutes. Runs the subscription in intervals of up to 60 minutes. You select the number of minutes from the list.
    • Hourly. Runs the subscription in intervals of up to 24 hours. You select the number of hours from the list.
    • Daily. Runs the subscription at the same hour every day.
    • Weekly. Runs the subscription every week on one or more days at the same hour.
    • Monthly. Runs the subscription every month on a specific date or a specific day at the same hour.
    Define the delivery intervals in the
    Repeat running
    area.
  13. Optionally, in the
    Retry Policy
    area, select
    Reprocess Events in Error Status
    and then select the number of times
    Cloud Integration Hub
    retries to run the subscription in case of failure and the retry interval.
    You can define a policy of up to nine retry attempts with a retry interval that is between five minutes and 23 hours.
  14. Click
    Save
    .