Open FR-ADDIX opened 9 months ago
Are you processing the broker logfile, translating it to German? :) Perhaps giving me the original text next time. Took me a while :)
It seems like it's a piece of "not implemented yet". Now, instead of looking at the log file, is something not working well? For this case, look for some entity missing in the "data" array of entities in a notification. Traces can be old and misleading sometimes.
Oops, I hadn't realized that I had translated the log. :)
No, it only seems to affect the log, but it makes it very difficult to read. the function is apparently not restricted.
So, two things.
If it's a false positive, I'll remove the warning. I'd just like to fully understand it before I do that.
ok, the way I see it, it's just a warning but it doesn't seem to have any effect on the subscription itself. there are different high traffic models. Vehicle, for example, delivers 60 to 90 updates per second. And the FLIR Cam "TrafficObservationIntegratedData" delivers about 70 fresh entities once a minute. This is where the warning is particularly noticeable.
All subscriptions that contain many simultaneously changed entities have these warnings.
Here is the example for the FLIR Cam Subscrib Subscribtion:
{
"id": "urn:ngsi-ld:subscription:3186e0f2-56bf-11ee-9bef-6e8429ed8714",
"type": "Subscription",
"subscriptionName": "QL:TrafficObservationIntegratedData",
"description": "Historisierung der TrafficObservationIntegratedData Daten",
"entities": [
{
"idPattern": "TrafficObservationIntegratedData",
"type": "TrafficObservationIntegratedData"
}
],
"watchedAttributes": [
"dateObserved"
],
"status": "active",
"isActive": true,
"notification": {
"format": "normalized",
"endpoint": {
"uri": "http://quantumleap8.fiware-staging.svc:8668/v2/notify",
"accept": "application/json",
"receiverInfo": [
{
"key": "Fiware-Service",
"value": "infoportal"
}
]
},
"status": "ok",
"timesSent": 100,
"lastNotification": "2024-02-16T12:53:30.563Z",
"lastSuccess": "2024-02-16T12:53:30.563Z"
},
"origin": "cache",
"jsonldContext": "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld"
}
WARN@12:50:14 subCacheAlterationMatch.cpp[153]: Different entity (urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ11.2:VDZ2:8 vs urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ
11.2:VDZ2:5) - need to add it to the notification for sub urn:ngsi-ld:subscription:3186e0f2-56bf-11ee-9bef-6e8429ed8714
WARN@12:50:14 subCacheAlterationMatch.cpp[153]: Different entity (urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ11.2:VDZ2:8 vs urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ
11.2:VDZ2:4) - need to add it to the notification for sub urn:ngsi-ld:subscription:3186e0f2-56bf-11ee-9bef-6e8429ed8714
WARN@12:50:14 subCacheAlterationMatch.cpp[153]: Different entity (urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ11.2:VDZ2:8 vs urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ
11.2:VDZ2:3) - need to add it to the notification for sub urn:ngsi-ld:subscription:3186e0f2-56bf-11ee-9bef-6e8429ed8714
WARN@12:50:14 subCacheAlterationMatch.cpp[153]: Different entity (urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ11.2:VDZ2:8 vs urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ
11.2:VDZ2:2) - need to add it to the notification for sub urn:ngsi-ld:subscription:3186e0f2-56bf-11ee-9bef-6e8429ed8714
WARN@12:50:14 subCacheAlterationMatch.cpp[153]: Different entity (urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ11.2:VDZ2:8 vs urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ
11.2:VDZ2:1) - need to add it to the notification for sub urn:ngsi-ld:subscription:3186e0f2-56bf-11ee-9bef-6e8429ed8714
WARN@12:50:14 subCacheAlterationMatch.cpp[153]: Different entity (urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ11.2:VDZ2:8 vs urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ
11.2:VDZ1:8) - need to add it to the notification for sub urn:ngsi-ld:subscription:3186e0f2-56bf-11ee-9bef-6e8429ed8714
WARN@12:50:14 subCacheAlterationMatch.cpp[153]: Different entity (urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ11.2:VDZ2:8 vs urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ
11.2:VDZ1:7) - need to add it to the notification for sub urn:ngsi-ld:subscription:3186e0f2-56bf-11ee-9bef-6e8429ed8714
WARN@12:50:14 subCacheAlterationMatch.cpp[153]: Different entity (urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ11.2:VDZ2:8 vs urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ
11.2:VDZ1:6) - need to add it to the notification for sub urn:ngsi-ld:subscription:3186e0f2-56bf-11ee-9bef-6e8429ed8714
WARN@12:50:14 subCacheAlterationMatch.cpp[153]: Different entity (urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ11.2:VDZ2:8 vs urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ
11.2:VDZ1:5) - need to add it to the notification for sub urn:ngsi-ld:subscription:3186e0f2-56bf-11ee-9bef-6e8429ed8714
WARN@12:50:14 subCacheAlterationMatch.cpp[153]: Different entity (urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ11.2:VDZ2:8 vs urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ
11.2:VDZ1:4) - need to add it to the notification for sub urn:ngsi-ld:subscription:3186e0f2-56bf-11ee-9bef-6e8429ed8714
WARN@12:50:14 subCacheAlterationMatch.cpp[153]: Different entity (urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ11.2:VDZ2:8 vs urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ
11.2:VDZ1:3) - need to add it to the notification for sub urn:ngsi-ld:subscription:3186e0f2-56bf-11ee-9bef-6e8429ed8714
WARN@12:50:14 subCacheAlterationMatch.cpp[153]: Different entity (urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ11.2:VDZ2:8 vs urn:ngsi-ld:TrafficObservationIntegratedData:Kiel:CZ
11.2:VDZ1:2) - need to add it to the notification for sub urn:ngsi-ld:subscription:3186e0f2-56bf-11ee-9bef-6e8429ed8714
I'll have a look at it. With some luck it's a warning that shouldn't be there. I'd just like to make sure that it's true and then remove the warning. For that I need to be able to reproduce it. Busy today but I'll have a look at this next week.
We have the following warning:
What does this mean and how can I fix it?
The subscription is this one:
Approx. 120 entities are renewed, which then trigger this warning.