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?

已提問 1 年前檢視次數 216 次
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
專家
已回答 1 年前
profile pictureAWS
專家
已審閱 1 年前
  • That makes sense and is more or less what I figured - thanks Massimiliano!

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南

相關內容