August 15, 2023

Configuring how frequent the Tweets are analyzed – Docs for ESB 6.x

Configuring how frequent the Tweets are analyzed

  1. Double-click tWindow to open its
    Component view.

    use_case-tkafkainput_twitter3.png

    This component is used to apply a Spark window on the input RDD so that this Job always
    analyzes the Tweets of the last 20 seconds at the end of each 15 seconds. This
    creates, between every two window applications, the overlap of one micro batch,
    counting 5 seconds as defined in the Batch size
    field in the Spark configuration tab.
  2. In the Window duration field, enter 20000, meaning 20
    seconds.
  3. Select the Define the slide duration check
    box and in the field that is displayed, enter 15000, meaning 15 seconds.

The configuration of the window is then displaed above the icon of tWindow in the Job you are designing.


Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x