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
Kinesis
service and clickCreate Data Stream
. - Assign a name to the stream.
- Select
Provisioned
capacity mode- Alternatively select
On-Demand
depending on your needs and cost analysis
- Alternatively select
- Apply a
shard value
of1
. - Click on
Create Data Stream
. A status page with stream details will display. - Click on
Configuration
and thenEdit
next toEncryption
- Check the
Enable server-side encryption
checkbox and clickSave Changes
- Using the default AWS managed CMK is recommended
- Once the status is
active
the 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
streamName
andCollection
must match thekinesisArn+collection
defined in the rule that you have created in Step 2.