Set Up an Amazon MSK Connection
Create an Amazon MSK Data Stream
MuleSoft Anypoint Connector for Salesforce Data 360
Create a data stream to start the flow of data from your Amazon Managed Kafka Streaming instance to Data 360.
Complete these prerequisites.
In Data Cloud, on the Data Streams tab, click New.
You can also use App Launcher to find and select Data Streams.
Under Other Sources, select the MSK connection source, and click Next.
Select a connection and topic.
Select the object that you want to import, and click Next.
You can select a new object on the Available Objects tab.
Under Object Details, select a Category for the type of data in the data stream as Profile, Engagement, or Other.
If you select Engagement, you must specify a value for the Event Time Field, which describes when the engagement occurred.
For Primary Key, select a unique field to identify a record.
If a primary key isn’t listed in the dropdown, you must create one using a formula field.
To create a formula field, click New Formula Field.
For Field Label, enter the data stream field’s display name.
For Field API Name, enter the data stream field’s programmatic reference.
For Formula Return Type, select Text.
In the Transformation Formula text box, enter a UUID() formula.
To validate the formula, click Text.
Click Save.
For Primary Key, select the UUID that you created.
(Optional) Select a record modified field.
If data is received out of order, the record modified field provides a reference point to determine whether to update the record. The record with the most up-to-date timestamp is loaded.
(Optional) For Organization Unit Identifier, select a business unit to use in a record’s data lineage. For more information, see Organization Unit Identifier.
Click Next.
For Data Space, if the default data space isn’t selected, assign the data stream to the appropriate data space.
Click Deploy.
When the Last Run Status is successful, you can see how many records were processed and the total number of records that were loaded.
You can now map your data lake object to the semantic data model to use the data in segments, calculated insights, and other use cases.
When working with the Amazon MSK connector, keep these behaviors in mind.