Skip to content

[FEATURE] Use persistent sessions #17

Description

@perbu

Metamorphosis currently works on a best effort basis. In order to minimize the chance of losing messages I'm thinking about doing the following:

  • Enable persistent MQTT sessions. This will ask the MQTT broker to retain messages if Metamorphosis is offline.
  • Only acknowledge MQTT messages once we've written them to kafka

Once these are in place we can a bit more aggressive when we shut down, which should shorten the window we're down during a pod restart.

Activity

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions