Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
Sender Email:
-
HD-Chapter:Data
-
HD-Enabler:Cosmos
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
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
Assignee | Francisco Romero [ frb ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Summary | cygnus - mongo sink : wrong value in recvTime | FIWARE.Request.Tech.cygnus - mongo sink : wrong value in recvTime |
Sender Email | sabrine.fatnassi@eglobalmark.com |
HD-Enabler | Cosmos [ 10872 ] | |
HD-Chapter | Data [ 10838 ] |
Summary | FIWARE.Request.Tech.cygnus - mongo sink : wrong value in recvTime | FIWARE.Request.Tech.Data.BigData-Analysis.cygnus - mongo sink : wrong value in recvTime |
Fix Version/s | 2021 [ 12600 ] |