Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in AWS by (5.6k points)
I am working on a real-time streaming application that needs to send information to AWS Kinesis streams and from there to AWS Redshift. Based on my understanding as per the documentation, the following are the option to push information from Kinesis Stream to Redshift:

1. Kinesis Streams -> Lambda Function -> Redshift

2. Kinesis Streams -> Lambda Function -> Kinesis Firehose -> Redshift

3. Kinesis Streams -> Kinesis Connector Library -> Redshift

It seems the Kinesis Connector option to be the best option for moving information from Streams to Redshift. But, I am not able to understand where do we deploy this library and how does this runs? Does this need to run as a lambda function or as a java function on an EC2 instance? In case anyone can help me with this!!

1 Answer

0 votes
by (12.4k points)

If you're using the Kinesis Connector Library and then you want to deploy it on an EC2 instance, but using a Lambda function without the Connector Library is a lot easier and would be a better option as per my opinion. As it handles batching, scaling up your instance invocation and retries. Dead Letter Queues are probably coming soon too for Lambda + Kinesis.

Basically, it's a lot easier to scale and deal with failures in Lambda.

Want to learn more about AWS, then do check out AWS Course offered by Intellipaat.

Related questions

0 votes
1 answer
asked Apr 5, 2020 in AWS by Amenda (1.4k points)
Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
0 votes
1 answer
asked Mar 3, 2021 in AWS by devin (5.6k points)
0 votes
1 answer
asked Mar 3, 2021 in AWS by devin (5.6k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...