Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Apache Kafka input adapter reads the tail of a given file and inputs that to the WSO2 product engine. This feature is donated by Andres Gomez Ferrer. For more information, go to Apache Kafka documentation.

...

  1. Log in to product's management console, and click Configure.
  2. Click Input Event Adaptors in the Event Processor Configs menu, and then click Add Input Event Adaptor.
  3. Enter details as shown in the below example. 
    create input Kafka event adapter

  4.  Click Add Event Adaptor.

...

  1. Log into the CEP Management Console. For detailed instructions, see Running the Product.
  2. Click the Configure tab and then click Event Builders to open the Available Event Builders page.
  3. Click the name of the event builder to which the relevant input event adapter is connected. This opens the Event Builder Details page.
  4. Click the name of the event builder to which the relevant input event adapter is connected. 

    input Kafka event adapter message propertiesThe message properties of a kafka input event adapter are described below.

    PropertyDescription
    Topic KafkaName of the Kafka topic to which, input messages are published
    Input Mapping TypeThe incoming event type to be mapped