Hi Frederico,

in general, it is possible to call the out.collect(event) method multiple times.
Each event will be sent to the following processors.
However, the only restriction is, that the event schema must be the same.

The reason for that is, that the following processor needs to know how an event 
looks like.
E.g. when a filter component filters the events based on the field 
“temperature” it must be within the event.

I hope this helps.

Kind regards,
Philipp


Von: Rullo, Federico <[email protected]>
Datum: Donnerstag, 4. August 2022 um 15:58
An: [email protected] <[email protected]>
Betreff: RE: Processors Output
Hi Dominik,

Thanks for the reply.
This could work but I was looking for something different.
I was wondering if we could queue one more event before the normal one.
For example, I calculate and obtain a new event that needs to be outputted 
before the regular one.
Can we call the OutputCollector function explicitly, one call for our 
calculated event and one for the normal event to maintain the correct 
TimeSeries?

out.collect(event_custom);
out.collect(event);

Something like this.

Thank in advance for the reply,

Best,

Federico.


Federico Rullo
_________________________________________________________________

GFT Italia S.r.l.
Via A. Rimassa, 51/2
16129 Genova, Italy

T +39 025 8158169
[email protected]
www.gft.com/it<http://www.gft.com/it>
https://blog.gft.com
https://www.linkedin.com/company/gft-group/
www.twitter.com/gft_it <http://www.twitter.com/gft_it%20>

Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
VAT Code and number of registration with the Companies' Register of Milan: 
00819200478
Corporate capital: Euro 1,000,000 fully paid-in

Company subject to the direction and coordination activity of GFT Technologies 
SE

Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta 
elettronica ed Internet del Garante Privacy si rende noto che le informazioni 
contenute nella presente comunicazione e i relativi allegati possono essere 
riservate e sono, comunque, destinate esclusivamente alle persone o alla 
Società sopraindicati. Le stesse non sono da considerarsi comunicazioni 
personali, quindi eventuali risposte potranno essere conosciute da persone 
appartenenti all’azienda.

In accordance with Regulation EU 2016/679 (General Data Protection Regulation) 
and Guidelines Applying to the Use of E-Mails and the Internet in the 
Employment Context of Italian Data Protection Authority it is announced that 
the information in this communication (which includes any documents with it) is 
confidential and meant only for above-mentioned persons and/or Companies; the 
information is not personal therefore, It is intended for the addressee only 
and any replies will be known by people belonging to the company.
_________________________________________________________________

[cid:[email protected]]<https://www.gft.com/it/it/solutions/SOLUTIONS/it/IT-Metaverso>
From: Dominik Riemer <[email protected]>
Sent: martedì 2 agosto 2022 16:33
To: [email protected]
Subject: RE: Processors Output


[EXTERNAL EMAIL]
This email originated from outside of the organization or was sent 
unauthenticated. Do not click links or open attachments unless you confirm the 
sender and know the content is safe.
Hi Federico,

I’ve never tried this, but I’d say it could work by having a scheduled timer or 
something like that which is started upon pipeline invocation and runs in a 
separate thread. Once the pipeline is stopped, you would need to stop the timer 
to make sure no further events are sent.

Best,
Dominik

From: Rullo, Federico <[email protected]<mailto:[email protected]>>
Sent: Tuesday, August 2, 2022 2:18 PM
To: [email protected]<mailto:[email protected]>
Subject: Processors Output

Hello everyone,

I was wondering if it is possible to have a function being activated and 
outputting results without receiving and event as an input to activate 
functions such as OnEvent.
For example let’s say I don’t receive any inputs in a given time window and I 
want to output a fictional value to fill this gap, is it possible  to output 
such event without receiving any input? If so, how can I do it?

Thanks in advance for your reply,

Best,

Federico

Federico Rullo
_________________________________________________________________

GFT Italia S.r.l.
Via A. Rimassa, 51/2
16129 Genova, Italy

T +39 025 8158169
[email protected]<mailto:[email protected]>
www.gft.com/it<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.gft.com%2Fit&data=05%7C01%7CFederico.Rullo%40gft.com%7C20e6719bd386494c906208da7493e0df%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637950475731729021%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=sRrvfGBq6y8cZaBCrNRPTR%2FgF6gLy6BmKnH2p%2Fn99mE%3D&reserved=0>
https://blog.gft.com<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog.gft.com%2F&data=05%7C01%7CFederico.Rullo%40gft.com%7C20e6719bd386494c906208da7493e0df%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637950475731729021%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=yMXbpDVFwlIUfHRaXjp9bZnYk4kvWdR2H55SzcGVP5A%3D&reserved=0>
https://www.linkedin.com/company/gft-group/<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fgft-group%2F&data=05%7C01%7CFederico.Rullo%40gft.com%7C20e6719bd386494c906208da7493e0df%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637950475731729021%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=IozXlwX8xQoZZO%2BDx6TW0u9RhpUS%2Fon6VrEHAgQEGhM%3D&reserved=0>
www.twitter.com/gft_it 
<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.twitter.com%2Fgft_it%2520&data=05%7C01%7CFederico.Rullo%40gft.com%7C20e6719bd386494c906208da7493e0df%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637950475731729021%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=tnYdYQK74KpRMB5Cptl6oW7MpxK3ntKFSInxGmiPLAI%3D&reserved=0>

Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
VAT Code and number of registration with the Companies' Register of Milan: 
00819200478
Corporate capital: Euro 1,000,000 fully paid-in

Company subject to the direction and coordination activity of GFT Technologies 
SE

Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta 
elettronica ed Internet del Garante Privacy si rende noto che le informazioni 
contenute nella presente comunicazione e i relativi allegati possono essere 
riservate e sono, comunque, destinate esclusivamente alle persone o alla 
Società sopraindicati. Le stesse non sono da considerarsi comunicazioni 
personali, quindi eventuali risposte potranno essere conosciute da persone 
appartenenti all’azienda.

In accordance with Regulation EU 2016/679 (General Data Protection Regulation) 
and Guidelines Applying to the Use of E-Mails and the Internet in the 
Employment Context of Italian Data Protection Authority it is announced that 
the information in this communication (which includes any documents with it) is 
confidential and meant only for above-mentioned persons and/or Companies; the 
information is not personal therefore, It is intended for the addressee only 
and any replies will be known by people belonging to the company.
_________________________________________________________________

[cid:[email protected]]<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.gft.com%2Fit%2Fit%2Fsolutions%2FSOLUTIONS%2Fit%2FIT-Metaverso&data=05%7C01%7CFederico.Rullo%40gft.com%7C20e6719bd386494c906208da7493e0df%7C55a2bc67aec14ad29a9c5b2457b91dcd%7C0%7C0%7C637950475731729021%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=gNRXvBtsNmQ%2Fn9HUYxTxVVHuGBfZ7Ov84iDoZ233vho%3D&reserved=0>

Reply via email to