Setup Kinesis Stream & CNM Message
tip
Keep in mind that you should only have to set this up once per ingest stream. Kinesis pricing is based on the shard value and not on amount of kinesis usage.
Create a Kinesis Stream
- In your AWS console, go to the
Kinesisservice and clickCreate Data Stream. - Assign a name to the stream.
- Select
Provisionedcapacity mode- Alternatively select
On-Demanddepending on your needs and cost analysis
- Alternatively select
- Apply a
shard valueof1. - Click on
Create Data Stream. A status page with stream details will display. - Click on
Configurationand thenEditnext toEncryption - Check the
Enable server-side encryptioncheckbox and clickSave Changes- Using the default AWS managed CMK is recommended
- Once the status is
activethe stream is ready to use. Record the streamName and StreamARN for later use.
- In your AWS console, go to the
Create a Rule
- Refer to Create Rule in Cumulus.
Send a message
- Send a message that makes your schema using python or by your command line.
- The
streamNameandCollectionmust match thekinesisArn+collectiondefined in the rule that you have created in Step 2.