Skip to main content Skip to complementary content

Configuring the components

Procedure

  1. Double-click the cAWSConnection component to display its Basic settings view in the Component tab.
  2. In the Access Key and Secret Key fields, enter the authentication credentials of your AWS account. For how to get your Access Key and Access Secret, see Access keys (access key ID and secret access key).
    In the Region area, select the Pick in list option and select your region in the list.
  3. Double-click the cAWSKinesis component to open its Basic settings view in the Component tab.
  4. In the Connection list, select the cAWSConnection component that you have just configured to connect to Amazon Kinesis Service.
    In the Stream Name field, enter "Kinesis_data_stream_4_dev" in this use case.
    In the Iterator Type list, select LATEST to get the most recent data in the shard.
  5. Double-click the cProcessor component to open its Basic settings view in the Component tab.
  6. In the Code area, enter the following code to display the messages received in the execution console:
    System.out.println(exchange.getIn().getBody(String.class));
  7. Keep the default settings of the cLog component to log the message exchanges.
  8. Press Ctrl+S to save your Route.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!