Greengrass v2 Stream Manager and C++?

0

What is the best way to use Stream Manager with a primarily C++ codebase? I can see in the documentation that the SDK is only available for Java and Python.

The main thing we are looking to get out of Stream Manager is the ability to upload files to S3 in an unpredictable network environment. If there are alternate routes to achieving this via Greengrass outside of Stream Manager, that would also resolve the underlying goal of this question.

We are willing to write additional adapter code to remain in C++ if needed. Is it feasible to use Stream Manager with C++ at all or should we look into alternate methods of getting files to S3 through Greengrass v2?

asked a year ago208 views
1 Answer
1
Accepted Answer

Hi,

one alternative is to write a small single purpose component written in one of the supported StreamManager SDK languages (I would suggest Java, since this is a prerequisite anyway to run StreamManager) that interacts with your main C++ component via Greengrass pubsub IPC service.

Another is to have your Greengrass component written in C++ use the S3 API directly using the AWS SDK C++ but you will have to take care of the retries and backoffs in case of lack of connectivity.

AWS
EXPERT
answered a year ago
profile pictureAWS
EXPERT
reviewed a year ago
  • That makes sense and is more or less what I figured - thanks Massimiliano!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions