How do I add data to my Amazon Kinesis data stream

0 votes
How do I add data to my Amazon Kinesis data stream?
Nov 19, 2019 in AWS by Hannah
• 18,570 points
566 views

1 answer to this question.

+1 vote

You can add data to an Amazon Kinesis data stream via PutRecord and PutRecords operations, Amazon Kinesis Producer Library (KPL), or Amazon Kinesis Agent

PutRecord Request syntax:

{
   "Data": blob,
   "ExplicitHashKey": "string",
   "PartitionKey": "string",
   "SequenceNumberForOrdering": "string",
   "StreamName": "string"
}

PutRecords Request syntax:

{
   "Records": [ 
      { 
         "Data": blob,
         "ExplicitHashKey": "string",
         "PartitionKey": "string"
      }
   ],
   "StreamName": "string"
}
answered Nov 19, 2019 by Tracy

Related Questions In AWS

+1 vote
4 answers

How do I cache my images which are stored in Amazon S3?

when caching ec2 instance these can be ...READ MORE

answered Oct 23, 2018 in AWS by Nabarupa
8,478 views
0 votes
1 answer

How can I do Continuous data ingestion from on prem data sources to redshift

I can Recommend looking into AWS Schema ...READ MORE

answered Aug 8, 2018 in AWS by Priyaj
• 58,090 points
1,566 views
0 votes
1 answer

How do I roll-back a message to Amazon MQ (AMQ) from Lambda?

It is apparently not possible using STOMP ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,090 points
1,070 views
0 votes
1 answer
+1 vote
2 answers
0 votes
1 answer

How do I create an alarm for my load balancer using the Amazon EC2 console?

Follow these steps: Open the Amazon EC2 console On ...READ MORE

answered May 17, 2019 in AWS by Rhea
1,351 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP