in the aggregation, how can I make sure that the base events are deleted and not emitted to the elasticsearch and only the aggregated event was emitted?
in the aggregation, how can I make sure that the base events are deleted and not emitted to the elasticsearch and only the aggregated event was emitted?
That's what the event.cancel does. To check if it is working do a search for NOT _exists_: aggregatedEvents
It is already present as the first line of your code.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.