2

I am really confused about how kinesis and kinesis analytics work.

I need to send some data to kenisis analytic and then the top ten stories(data) should be sent to a lambda function every 5 minutes. I have Kinesis stream and also kinesis analytics set up as follows:

enter image description here

Now the problem is whenever data comes in to analytics, kinesis analytics send the stories right a way to lambda and this is not what I want. I need to sent the data every 5 mins. Is there any way to set the timing of sending the data in kinesis analytics? Any idea?

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470
Hamed Minaee
  • 2,480
  • 4
  • 35
  • 63

1 Answers1

0

Here is how I fixed it:

FLOOR(("TRENDING_STORIES_001".ROWTIME - TIMESTAMP  '1970-01-01 00:00:00') SECOND / 40 TO SECOND)
Hamed Minaee
  • 2,480
  • 4
  • 35
  • 63