跳至内容

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?

已提问 3 年前463 查看次数
1 回答
1
已接受的回答

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
专家
已回答 3 年前
AWS
专家
已审核 3 年前
  • That makes sense and is more or less what I figured - thanks Massimiliano!

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。