Reputation: 35
I currently have a GET API endpoint which gives me realtime data of an object. I want to set up AWS Kinesis Data Stream such that it requests data from the API every 5 seconds and directs the output to AWS RDS. How do I get kinesis to query the API every 5 seconds?
Upvotes: 1
Views: 501
Reputation: 238061
How do I get kinesis to query the API every 5 seconds?
You can't as kinesis does not have such functionality. You have to implement it yourself. For example, a lambda function that queries your endpoint every 5 seconds and injects records to the stream.
Upvotes: 1