An application can publish data to a defined topic and can subscribe to data from a topic. For example, a sales application can publish sales reports and subscribe to inventory updates from an operations application. When you add a publication to an application, you define the schedule according to which topic data will be published from the application. You also define the schedule according to which topic data will be retrieved from the application and published to the
Cloud Integration Hub
publication repository. When you add a subscription to an application, you define the topic to which the application subscribes and the schedule and scope of data that the application consumes from the topic. The topic defines the structure of the data that the associated publications and subscriptions publish and consume.