Saltar al contenido

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?

preguntada hace 3 años463 visualizaciones
1 Respuesta
1
Respuesta aceptada

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
EXPERTO
respondido hace 3 años
AWS
EXPERTO
revisado hace 3 años
  • That makes sense and is more or less what I figured - thanks Massimiliano!

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.