August 15, 2023

Writing data to an Amazon Kinesis Stream – Docs for ESB 6.x

Writing data to an Amazon Kinesis Stream

In this section, it is assumed that you have an Amazon EMR cluster up and running and
that you have created the corresponding cluster connection metadata in the
repository. It is also assumed that you have created an Amazon Kinesis stream.

  1. Create a Big Data Streaming Job using the Spark framework.

    amazon_emr-work_with_kinesis_and_big_data_streaming_jobs_04.png

  2. In this example the data, which will be written to Amazon Kinesis, are
    generated with a tRowGenerator component.
  3. The data must be serialized as byte arrays before being written to the Amazon
    Kinesis stream. Add a tWriteDelimitedFields component and
    connect it to the tRowGenerator component.
  4. Configure the Output type to
    byte[].
  5. To write the data to your Kinesis stream, add a
    tKinesisOutput component and connect the
    tWriteDelimitedFields component to it.
  6. Provide your Amazon credentials.
  7. To access your Kinesis stream, provide the Stream name and the corresponding
    endpoint url.

    To get the right endpoint url, refer to AWS Regions and Endpoints.

  8. Provide the number of shards, as specified when you created the Kinesis
    stream.

    amazon_emr-work_with_kinesis_and_big_data_streaming_jobs_05.png


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