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.

...

The configured input event adapters are used in Event Builders. With input event adapter message properties, event builders are able to extract data from the incoming events to build the event streams. Following are the specific message properties of input Kafka event adapter.

input Kafka event adapter message propertiesImage Removed

The message properties of the input Kafka . Message properties specific to input event adapters of the kafka type can be configured as follows.

  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 Event Builder Details page.
  3. Click the name of the event builder to which the relevant input event adapter is connected. 
    input Kafka event adapter message propertiesImage AddedThe 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