Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.08 KB

File metadata and controls

43 lines (28 loc) · 1.08 KB

Camel Example Main Endpoint DSL with AWS2 Kinesis component

This example shows how to use the endpoint DSL in your Camel routes to define endpoints using type safe fluent builders, which are Java methods that are compiled.

The example will poll a Kinesis Data Stream by using KCL consumers.

You’ll need to create the stream from your AWS console or your AWS CLI.

Notice how you can configure Camel in the application.properties file.

This example will use the AWS default credentials Provider: https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html Set your credentials accordingly. Don’t forget to add the stream name.

Build

First compile the example by executing:

$ mvn compile

How to run

You can run this example using

$ mvn camel:run

Help and contributions

If you hit any problem using Camel or have some feedback, then please let us know.

We also love contributors, so get involved :-)

The Camel riders!