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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        6h 45m 1 Francisco Romero 22/Feb/16 5:00 PM
        In Progress In Progress Answered Answered
        1s 1 Francisco Romero 22/Feb/16 5:00 PM
        Answered Answered Closed Closed
        3d 17h 20m 1 Francisco Romero 26/Feb/16 10:20 AM

          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: