earthquake source Earthquake Source

Provided by: "Apache Software Foundation"

Support Level for this Kamelet is: "Stable"

Get data about current earthquake events happening in the world using the USGS API

Configuration Options

The following table summarizes the configuration options available for the earthquake-source Kamelet:

Property Name Description Type Default Example

lookAhead

Look-ahead Minutes

The amount of minutes to look ahead when starting the integration afresh.

integer

120

period

Period between Polls

The interval between fetches to the earthquake API in milliseconds.

integer

60000

Dependencies

At runtime, the earthquake-source Kamelet relies upon the presence of the following dependencies:

  • camel:caffeine

  • camel:http

  • camel:kamelet

  • camel:core

  • camel:jackson

  • camel:jsonpath

  • camel:timer

Camel JBang usage

Prerequisites

  • You’ve installed JBang.

  • You have executed the following command:

jbang app install camel@apache/camel

Supposing you have a file named route.yaml with this content:

- route:
    from:
      uri: "kamelet:earthquake-source"
      parameters:
        .
        .
        .
      steps:
        - to:
            uri: "kamelet:log-sink"

You can now run it directly through the following command

camel run route.yaml