Preparing Your File
Once you've established a place to put your data in Cogynt, the next step is to prepare your file for processing. Here, you'll provide your data in a JSON file before you begin to construct your patterns in Authoring.
Upload a JSON File
Cogynt's Data Management Tool provides several options to upload data into Kafka. For the purpose of this guide, you'll use the tool's GUI to upload a JSON to Kafka.
To upload your JSON file:
- Open Data Management Tool.
- On the landing page, click Data File Upload.
- From the Select Project dropdown menu, select the project you created earlier.
- From the Select Topic dropdown menu, click Use New Topic and follow these instructions:
- In the New Topic window, in the Topic field, type a name for the topic. (Note: For this exercise, the other fields can be left with their default values.)
- Click Confirm.
- From the Data Source dropdown menu, select your data source (usually default).
- Under Data File, either drag your JSON file to the space indicated on the page, or click the space to browse for and select your JSON file.
- Inspect the preview to confirm that the uploaded file matches what you expected.
- Click Upload.
- In the Confirm Data File Upload dialog, click Upload.
Next Steps
Your next steps involve logging into Cogynt Authoring, where you will create the processing logic:
- Create an event pattern node to house input and output events.
- Create input and output elements that reference the data you've just uploaded via schemas and event types you create.