-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arcgis sink looses events (maybe when arcgis is restarted or modified?) #2405
Comments
Stack trace: [com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink.persistBatch(NGSIArcgisFeatureTableSink.java:311), com.telefonica.iot.cygnus.sinks.NGSISink.processNewBatches(NGSISink.java:597), com.telefonica.iot.cygnus.sinks.NGSISink.process(NGSISink.java:372), com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink.process(NGSIArcgisFeatureTableSink.java:325), org.apache.flume.sink.DefaultSinkProcessor.process(DefaultSinkProcessor.java:39), org.apache.flume.SinkRunner$PollingRunner.run(SinkRunner.java:145), java.base/java.lang.Thread.run(Thread.java:840)] |
Configuring a non existent arcgis endpoint, and sending events to arcgis sink I've got the following traces each time that batch is full or reaches timeout: time=2024-09-24T09:12:05.250Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=processNewBatches | msg=com.telefonica.iot.cygnus.sinks.NGSISink[583] : Batch completed time=2024-09-24T09:12:05.268Z | lvl=DEBUG | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=persistAggregation | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[400] : PersistAggregation Error: com.telefonica.iot.cygnus.errors.CygnusRuntimeError: CygnusRuntimeError (com.telefonica.iot.cygnus.errors.CygnusRuntimeError). Error creating new persistence Backend. (CygnusRuntimeError. [arcgis-sinkError creating Persistence backend: -1 - { "responseCode" : 404, "responseMessage": "class java.net.UnknownHostException time=2024-09-24T09:12:05.268Z | lvl=ERROR | corr=d9c3ce3f-211f-4036-ac8c-ad2ffcf8ec30; cbnotif=1 | trans=804cc855-a934-44c2-96a1-0aa9317507dd | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=persistBatch | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[310] : [arcgis-sink] Error persisting batch, CygnusRuntimeError.CygnusRuntimeError (com.telefonica.iot.cygnus.errors.CygnusRuntimeError). Error creating new persistence Backend. (CygnusRuntimeError. [arcgis-sinkError creating Persistence backend: -1 - { "responseCode" : 404, "responseMessage": "class java.net.UnknownHostException |
Fixed by PR #2421 |
TBD: more info is needed:
Arcgis sink is using a custom aggregator (NGSIArcgisAggregator). So main debug logs are produced by this aggregator.
The text was updated successfully, but these errors were encountered: