#136 Edge seems to publish "empty" payloads

closed
hermsen
None
2021-05-10
2021-04-30
hermsen
No

The edge publishes somehow publishes payloads that are valid but empty i.e;
Payloads contain timestamp and a valid seqnum, but the metrics section is empty;

NDATA

{"timestamp":1619874081095,"metrics":[],"seq":218}

Replication: Set GenerateDataTimer to e.g. T#60s whilst keeping publishPeriod to e.g. 500

1) Find root cause of this unwanted and unnecessary sending of empty payloads,
2) Suggest and implement a suitable fix.

Discussion

  • hermsen

    hermsen - 2021-05-01
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,5 +1,11 @@
     The edge publishes somehow publishes payloads that are valid but empty i.e; 
    -Payloads contain timestamp and a valid seqnum but the metrics section is empty.
    +Payloads contain timestamp and a valid seqnum, but the metrics section is empty;
    +
    +~~~
    +{"timestamp":1619874081095,"metrics":[],"seq":218}
    +~~~
    +
    +Replication: Set GenerateDataTimer to e.g. T#60s whilst keeping publishPeriod to e.g. 500,
    
     1) Find root cause of this unwanted and unnecessary sending of empty payloads,
     2) Suggest and implement a suitable fix.
    
     
  • hermsen

    hermsen - 2021-05-01
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,6 +1,5 @@
     The edge publishes somehow publishes payloads that are valid but empty i.e; 
     Payloads contain timestamp and a valid seqnum, but the metrics section is empty;
    -
     ~~~
     {"timestamp":1619874081095,"metrics":[],"seq":218}
     ~~~
    
     
  • hermsen

    hermsen - 2021-05-01
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,5 +1,7 @@
     The edge publishes somehow publishes payloads that are valid but empty i.e; 
     Payloads contain timestamp and a valid seqnum, but the metrics section is empty;
    +
    +NDATA
     ~~~
     {"timestamp":1619874081095,"metrics":[],"seq":218}
     ~~~
    
     
  • hermsen

    hermsen - 2021-05-01

    Replication: Set GenerateDataTimer to e.g. T#60s

     
  • hermsen

    hermsen - 2021-05-01
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -6,7 +6,7 @@
     {"timestamp":1619874081095,"metrics":[],"seq":218}
     ~~~
    
    -Replication: Set GenerateDataTimer to e.g. T#60s whilst keeping publishPeriod to e.g. 500,
    +Replication: Set GenerateDataTimer to e.g. T#60s whilst keeping publishPeriod to e.g. 500
    
     1) Find root cause of this unwanted and unnecessary sending of empty payloads,
     2) Suggest and implement a suitable fix.
    
    • status: open --> accepted
     
  • hermsen

    hermsen - 2021-05-01

    Replication: Set GenerateDataTimer to e.g. T#60s

     
  • hermsen

    hermsen - 2021-05-01
    • status: accepted --> pending
     
  • hermsen

    hermsen - 2021-05-01

    Fixed in v1.4.2.10

     
  • i-campbell

    i-campbell - 2021-05-10
    • status: pending --> closed
     
  • i-campbell

    i-campbell - 2021-05-10
    • assigned_to: h-hermsen
     

Log in to post a comment.