Skip to content

persistence interface #348

Open
Open

Description

@HAK-CODE

Describe the feature

Can we provide a way to write unprocessed messages (not able to be sent to MQTT broker due to network reasons) to a file or permanent storage? As if we use SBC(single board computer) to keep those messages in RAM it may overflow.

Use Case

We have an RPie installed at different sites which sends us data via AWS IoT Core, sometimes network failures occur for which a team is sent to fix at the remote area which takes around 10 - 15 days sometimes memory crashes for which historical data is wiped off and sometimes device power failure occurs for which all data is lost during network outage at a site.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

SDK version used

v1.11.3

Environment details (OS name and version, etc.)

Debian version: 11 (bullseye)

Activity

  1. added
    feature-requestA feature should be added or improved.
    needs-triageThis issue or PR still needs to be triaged.
    on Aug 30, 2022
  2. bretambrose commented on Aug 30, 2022

    @bretambrose
    Contributor

    A persistence interface is something we're currently thinking about, but I can't make any promises or timelines.

  3. changed the title [-](short issue description)[/-] [+]persistence interface[/+] on Aug 30, 2022
  4. removed
    needs-triageThis issue or PR still needs to be triaged.
    on Aug 30, 2022
  5. added
    p2This is a standard priority issue
    on Nov 17, 2022
  6. Kriechi commented on Jul 17, 2023

    @Kriechi
    Contributor

    The newly released Disk Spooler component should address this:
    https://docs.aws.amazon.com/greengrass/v2/developerguide/disk-spooler-component.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.p2This is a standard priority issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions