Open ctc-watanabe opened 11 months ago
According to #571, is it difficult to implement?
@ctc-watanabe I'm afraid there is nothing about STH aggregator in new cygnus roadmap: https://github.com/telefonicaid/fiware-cygnus/pull/2292 Anyway any contribution is welcome. Depending on your experience with cygnus source code could could be not so difficult to implement.
Hi, the following comments and code indicate that the STH Aggregator does not support more than one event and persists events one at a time. https://github.com/telefonicaid/fiware-cygnus/blob/11e4b8524875c0efd3fb3f88a2657cd83f49ecc8/cygnus-ngsi/src/main/java/com/telefonica/iot/cygnus/sinks/NGSISTHSink.java#L99-L107
However, when there are many notifications from Orion to Cygnus and many updated attributes (tens to hundreds of rps), STHSink cannot keep up and the Channel fills up over time.
We would like the STH Aggregator to support multiple events (e.g., update events in a batch at once), but please let us know if this is in your future plans.
Thank you in advance.