Define Business Events > Defining publishing events > Publishing business events in real time
  

Publishing business events in real time

You can publish events from MDM SaaS to streaming targets that Cloud Data Integration supports in real time. For example, after a user creates a record in MDM SaaS, you can publish the details to a Kafka topic.
To publish business events in real time, perform the following tasks:

Step 1. Configure a Secure Agent as a runtime environment

In Administrator, configure a Secure Agent that is up and running as a runtime environment to run a streaming ingestion and replication task.
Ensure that you enable the following IDMC and connectors for the Secure Agent group:
For more information about Secure Agent, see Runtime environments in the Administrator help.
For more information about enabling or disabling services and connectors for a Secure Agent group, see Enabling or disabling services and connectors for a Secure Agent group in the Administrator help.

Step 2. Create the source and target connections

In Administrator, create the source and target connections.
When you create the source connection, select Business 360 events as the connection type, and select the runtime environment. When you create the target connection, select a streaming connector as the connection type, and select the runtime environment.
For more information about creating connections, see Configuring a connection in the Administrator help.

Step 3. Create a publishing event

In Business 360 Console, create a publishing event.
For more information about creating publishing events, see Create a publishing event.

Step 4. Create a streaming ingestion and replication task

In Data Integration, create a streaming ingestion and replication task to publish business events in real time.
    1In Data Integration, click New.
    The New Asset dialog box appears.
    2Select Data Ingestion and Replication > Streaming Ingestion and Replication Task, and click Create.
    3On the Definition page, select the Secure Agent that you configured as a runtime environment. For more information about configuring a Secure Agent as a runtime environment, see Step 1. Configure a Secure Agent as a runtime environment.
    4On the Source page, select the source connection that you created and the publishing event as the business object. For more information about creating the source and target connections and creating a publishing event, seeStep 2. Create the source and target connections and Step 3. Create a publishing event.
    5On the Target page, select the target connection that you created. For more information about creating the source and target connections, see Step 2. Create the source and target connections.
    6Optionally, add transformations and set the runtime options.
    7Save the task, and then click Deploy.
After you deploy the streaming ingestion and replication task, a job runs on the Secure Agent. You can monitor the progress, performance, and status of the streaming ingestion and replication job from Monitor and Operational Insights.
For more information about configuring a streaming ingestion and replication task, see Configuring a streaming ingestion and replication task in the Data Integration help.