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

FIWARE.Request.Tech.Data.BigData-Analysis.cygnus - mongo sink : wrong value in recvTime

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      Hello,

      I have updated cygnus to 0.12 version, I am using Mongo sink.

      After the update, I have noticed a strange received time values:

      "recvTime" : ISODate("48112-12-03T13:14:35Z")

      In logs:

      Starting transaction (1456129964-189-0000000013)

      time=2016-02-22T08:34:45.627UTC | lvl=INFO | trans=1456129964-189-0000000013 | srv=egmmqtt | subsrv=egmmqttpath | function=getEvents | comp=Cygnus | msg=com.telefonica.iot.cygnus.handlers.OrionRestHandler[236] : Received data ({ "subscriptionId" : "56b07c13881aebeb13652df0", "originator" : "localhost", "contextResponses" : [ { "contextElement" : { "type" : "sensors", "isPattern" : "false", "id" : "sensors:switch1A", "attributes" : [ { "name" : "switch1A", "type" : "string", "value" : "ON", "metadatas" : [

      { "name" : "TimeInstant", "type" : "ISO8601", "value" : "2016-02-22T08:34:45.595161" }

      ] } ] }, "statusCode" :

      { "code" : "200", "reasonPhrase" : "OK" }

      } ]})

      time=2016-02-22T08:34:45.627UTC | lvl=INFO | trans=1456129964-189-0000000013 | srv=egmmqtt | subsrv=egmmqttpath | function=getEvents | comp=Cygnus | msg=com.telefonica.iot.cygnus.handlers.OrionRestHandler[259] : Event put in the channel (id=823286801, ttl=10)

      time=2016-02-22T08:34:50.149UTC | lvl=INFO | trans=1456129964-189-0000000011 | srv=egmmqtt | subsrv=egmmqttpath | function=persistAggregation | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionMongoSink[276] : [mongo-sink] Persisting data at OrionMongoSink. Database: kura_egmmqtt, Collection: kura_/egmmqttpath_sensors_switch1a_sensors, Data: [Document{{recvTime=Sun Dec 04 11:20:18 UTC 48112, attrName=switch1A, attrType=string, attrValue=ON}}]

      time=2016-02-22T08:34:50.157UTC | lvl=INFO | trans=1456129964-189-0000000011 | srv=egmmqtt | subsrv=egmmqttpath | function=processOneByOne | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[223] : Finishing transaction (1456129964-189-0000000011)

      time=2016-02-22T08:34:50.163UTC | lvl=INFO | trans=1456129964-189-0000000013 | srv=egmmqtt | subsrv=egmmqttpath | function=persistAggregation | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionMongoSink[276] : [mongo-sink] Persisting data at OrionMongoSink. Database: kura_egmmqtt, Collection: kura_/egmmqttpath_sensors_switch1a_sensors, Data: [Document{{recvTime=Sun Dec 04 11:20:28 UTC 48112, attrName=switch1A, attrType=string, attrValue=ON}}]

      time=2016-02-22T08:34:50.169UTC | lvl=INFO | trans=1456129964-189-0000000013 | srv=egmmqtt | subsrv=egmmqttpath | function=processOneByOne | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[223] : Finishing transaction (1456129964-189-0000000013)

      time=2016-02-22T08:34:50.175UTC | lvl=INFO | trans=1456129964-189-0000000011 | srv=egmmqtt | subsrv=egmmqttpath | function=persistAggregation | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionMongoSink[276] : [mongo-sink] Persisting data at OrionMongoSink. Database: kura_egmmqtt, Collection: kura_/egmmqttpath_sensors_switch1a_sensors, Data: [Document{{recvTime=Sun Dec 04 11:20:14 UTC 48112, attrName=switch1A, attrType=string, attrValue=ON}}]

      time=2016-02-22T08:34:50.181UTC | lvl=INFO | trans=1456129964-189-0000000011 | srv=egmmqtt | subsrv=egmmqttpath | function=processOneByOne | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[223] : Finishing transaction (1456129964-189-0000000011)

      Any idea why?

      Thanks and best regards,

      Sabrine FATNASSI

      Test and Validation Engineer

      Easy Global Market : http://www.eglobalmark.com/ <http://www.eglobalmark.com/>

      Email : sabrine.fatnassi@eglobalmark.com <sabrine.fatnassi@eglobalmark.com>

      [Created via e-mail received from: "Sabrine Fatnassi (EGM)" <sabrine.fatnassi@eglobalmark.com>]

        Activity

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        backlogmanager Backlog Manager made changes -
        Summary FIWARE.Request.Tech.cygnus - mongo sink : wrong value in recvTime FIWARE.Request.Tech.Data.BigData-Analysis.cygnus - mongo sink : wrong value in recvTime
        mev Manuel Escriche made changes -
        HD-Enabler Cosmos [ 10872 ]
        HD-Chapter Data [ 10838 ]
        mev Manuel Escriche made changes -
        backlogmanager Backlog Manager made changes -
        Summary cygnus - mongo sink : wrong value in recvTime FIWARE.Request.Tech.cygnus - mongo sink : wrong value in recvTime
        frb Francisco Romero made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        frb Francisco Romero made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        frb Francisco Romero made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        mev Manuel Escriche made changes -
        Assignee Francisco Romero [ frb ]
        mev Manuel Escriche made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        fw.ext.user FW External User created issue -

          People

          • Assignee:
            frb Francisco Romero
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: