You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@beam.apache.org by Jean-Baptiste Onofré <jb...@nanthrax.net> on 2018/05/28 15:53:30 UTC

Re: How to process data

Hi,

I guess you want to process based on the watermark or the timestamp
(event time/processing time).

You can take a look on beam-samples to create window after watermark.

What kind of use case you want to implement ?

Regards
JB

On 28/05/2018 17:29, maxime.dejeux@orange.com wrote:
> Hello, I want to process data, which comes from Kafka, with a process
> “Event time” but I haven’t found the code for doing this in the
> documentation.
> 
> Could you give me some information.
> 
>  
> 
> Thank you in advance,
> 
> Maxime Dejeux
> 
> _________________________________________________________________________________________________________________________
> 
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
> 
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.
> 

-- 
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

RE: How to process data

Posted by ma...@orange.com.
Hi Jean-Baptiste,
Yes, I want to process data with the timestamp available in each record (event time). 
For the use case, I have a dataset (Json) with a timestamp in the past available inside the record itself. This dataset is pushed in one topic Kafka. With Beam, I want to detect some records which have, for example, a value of "charge" field < 300 with windowing.

Regards,
Maxime Dejeux.


-----Message d'origine-----
De : Jean-Baptiste Onofré [mailto:jb@nanthrax.net] 
Envoyé : lundi 28 mai 2018 17:54
À : user@beam.apache.org
Objet : Re: How to process data

Hi,

I guess you want to process based on the watermark or the timestamp
(event time/processing time).

You can take a look on beam-samples to create window after watermark.

What kind of use case you want to implement ?

Regards
JB

On 28/05/2018 17:29, maxime.dejeux@orange.com wrote:
> Hello, I want to process data, which comes from Kafka, with a process
> "Event time" but I haven't found the code for doing this in the
> documentation.
> 
> Could you give me some information.
> 
>  
> 
> Thank you in advance,
> 
> Maxime Dejeux
> 
> _________________________________________________________________________________________________________________________
> 
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
> 
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.
> 

-- 
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.