title: Lambda from API gateway VS kinesis Streams
body: <p><strong>Background</strong></p>
  
  <p>i am studying about AWS kinesis,API gateway.</p>
  
  <p>I understand that ,whenever requests hit API gateway,i can forward the data to a stream or i can choose to trigger a lambda(which will do some processing ).</p>
  
  <p><strong>Thoughts and Query</strong></p>
  
  <p>So,my thought was,if i can directly ,trigger a lambda from API gateway(When requests arrive,it is realtime),what is the advantage of having a kinesis stream(for realtime data processing)?</p>
  
  <p>I could remove the streams and directly trigger lambda from API gateway(even create multiple APIs for different tasks)</p>
  
  <p>Any thoughts in this scenario!</p>