title: Amazon Kinesis vs AWS Manage Service Kafka (MSK) - (Connect from on-prem)
body: <p>I'm evaluating AWS Kinesis vs Managed Service Kafka (MSK). Our requirement is sending some messages (JSON) to AWS to from the on-prem system (system develop using c++). Then we need to persist above messages into the relational database like PostgreSQL, and same time we need to stream above data into some other microservices (java) which hosted in AWS. </p>
  
  <p>I have the following queries:</p>
  
  <p>i) How can I access(connect and send messages) to AWS Kinesis from my on-premise system? Is there any C++ API supporting that? (There are java client API, but our on-prem system written on C++)</p>
  
  <p>ii) How can I access(connect and send messages) to AWS MSK from my on-premise system?</p>
  
  <p>iii) Is it possible to integrate MSK with other AWS service (e.g lambda, Redshift, EMR, etc)?</p>
  
  <p>iv) To persist data into a database can we use AWS lambda? (AWS Kinesis supporting that functionality, what about AWS MSK)</p>
  
  <p>v) Our message rate is 50msg/second and what is the cost-effective solution?</p>