Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-16858

[fiware-stackoverflow] Fiware IoT Agent - data loss issue

    Details

      Description

      Created question in FIWARE Q/A platform on 28-07-2020 at 16:07
      Please, ANSWER this question AT https://stackoverflow.com/questions/63136089/fiware-iot-agent-data-loss-issue

      Question:
      Fiware IoT Agent - data loss issue

      Description:
      We are observing significant data loss in IoT Agent. The data loss happens when IoT agent receives data from our VerneMQ MQTT broker.
      Our data is flowing at a rate of 1000/min. When the IoT Agent is started, it works fine for approximately 12 hours, but after 12 hours we see average data loss of 20%.
      We have one other subscriber apart from IoT Agent which receives the same data from VerneMQ topic, and that subscriber receives all the data from VerneMQ. The data loss is only in IoT Agent.
      We are running IoT Agent and Orion Context Broker on AWS environment using ECS/Fargate services. Each IoT Agent and Orion instance runs in a separate dedicated container.
      When IoT Agent is running on one ECS container it works fine without data loss, but when ECS container increased to more than one, there seems to be a data loss. Can you please guide and help us to resolve this issue.
      Details about our environment:

      IoT Agent version:

      { "libVersion": "2.12.0-next", "port": "4041", "baseRoot": "/", "version": "1.14.0-next" }

      Orion Context Broker version:

      { "orion":

      { "version": "2.3.0", "uptime": "0 d, 3 h, 51 m, 36 s", "git_hash": "764f44bff1e73f819d4e0ac52e878272c375d322", "compile_time": "Tue Nov 5 09:38:37 UTC 2019", "compiled_by": "root", "compiled_in": "38ab37448d3a", "release_date": "Tue Nov 5 09:38:37 UTC 2019", "doc": "https://fiware-orion.rtfd.io/en/2.3.0/" }

      }

      Environment variables set in IoT Agent:

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2020-07-28 18:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2020-07-28 18:05|CREATED monitor | # answers= 0, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2020-07-30 12:06|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2020-07-30 12:06|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2020-07-30 15:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2020-07-30 15:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

          People

          • Assignee:
            backlogmanager Backlog Manager
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: