Table of Contents

Search

  1. Preface
  2. Introduction to Data Integration Hub
  3. Catalog
  4. Applications
  5. Topics
  6. Creating Topics
  7. Topic Properties
  8. Publications
  9. Creating Publications
  10. Publication Properties
  11. Subscriptions
  12. Creating Subscriptions
  13. Subscription Properties
  14. Events and Event Monitoring
  15. Dashboard and Reports
  16. Glossary

Operator Guide

Operator Guide

Step 3. Create a Request to Run the Subscription

Step 3. Create a Request to Run the Subscription

To create a request to run the subscription, you have to copy the URL of the REST API and the URL of the API Swagger file from the subscription that you created in Step 2. Define Subscription Properties.
  1. Create a POST request with the following details:
    • Request URL: REST API URL. For example:
      http://hostname:18080/dih-console/api/v1/subscription/MySubscription/data
      Where
      MySubscription
      is the subscription name.
    • Request body:
      {"batchSize":<records_max_number> } :
      Where
      records_max_number
      is the maximal number of records from a table that can be put on the HTTP response stream before flushing it.
      For example:
      {"batchSize":5 } :
      If
      records_max_number
      is left empty,
      Data Integration Hub
      applies the default batch size of 500 records with a limit of 5000 records.

0 COMMENTS

We’d like to hear from you!