Open cesarjorgemartinez opened 3 years ago
Each Cygnus sinks has their own propertires for
cygnus-ngsi.sinks.
Regarding with Mongo typically there are two sinks (mongo-sink and sth-sink). Make sure both of then has these properties defined as you want.
Bug Cygnus persist STH (or other sinks) data batch_size and batch_timeout
Reading https://github.com/telefonicaid/fiware-cygnus/blob/master/doc/cygnus-ngsi/flume_extensions_catalogue/ngsi_sth_sink.md explain two parameters:
batch_size Mandatory no Default 1 => Number of events accumulated before persistence. batch_timeout Mandatory no Default 30 => Number of seconds the batch will be building before it is persisted as it is.
Then the osbserved behavihour is the following:
But must be:
Other sinks are affected?
Regards, Cesar Jorge