aws-samples / shopfloor-connectivity

Shop Floor Connectivity (SFC) is an industrial data ingestion enabler, that can quickly deliver customizable greenfield & brownfield connectivity solutions.
https://aws.amazon.com/blogs/industries/collecting-data-from-industrial-devices-to-aws-services/
MIT No Attribution
24 stars 3 forks source link

SFC main dependencies to mqtt-target component that don`t exist #17

Closed lucian-pruteanu closed 3 months ago

lucian-pruteanu commented 3 months ago

Step to reproduse: -No greengrass components deployed with previous versions of SFC -Using the latest version 1.1.7 -Install the greengrass components of SFC using release version with cdk -Look into dependencies of the SFC-main component and see 4, one is com.amazon.sfc.aws-iot-mqtt-target

Expected behavior: com.amazon.sfc.aws-iot-mqtt-target is present as component in aws

Observed behavior: com.amazon.sfc.aws-iot-mqtt-target is missing. This also lead to error in trying to deploy the sfc-main as it is not finding the component.

I test out in 1.0.8, the component is there.

The new naming of the component is com.amazon.sfc.mqtt-target?

arieleeuw commented 3 months ago

This is correct. There are two MQTT targets:

Both adapters have been upgraded to use batching (message size/message count/interval) and the option to use compression.

Thanks for informing us, we'll update the dependencies in the example.

asamerh4 commented 3 months ago

Hello Lucian, thanks for raising that! Have pushed a fix for the SFC Greengrass demo recipes. Note: The recipe for sfc-main is just an example, with some sfc-modules included. Typically one does create a custom sfc-main recipe (with custom dependencies) to match a specific environment.

asamerh4 commented 3 months ago

fixed in latest commit