This documentation is for WSO2 Data Analytics Server 3.0.1. View documentation for the latest release.

Versions Compared

Key

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

The Apache Kafka event receiver reads the tail of a given file and inputs that event receiver subscribes to a user-defined topic on a user-configured Kafka broker. Then the messages published to that topic are received by the Kafka receiver and forwarded to the WSO2 product engine. This  This feature is donated by by Andres Gomez Ferrer.For  For more information, go to see Apache Kafka documentation.

Table of Contents
maxLevel3

...

The above adapter properties are described below.

Adapter Property
Description
Configuration file propertyExample

Server Zookeeper IP

IP address of the Zookeeper Server

zookeeper.connect
127.0.0.1

Group ID Kafka

Kafka consumer group id which uniquely identifies a set of consumers within the same consumer group

group.id
groupid

Threads

Number of consumer threads

threads
4
Optional Configuration Properties

Valid property and value pairs to denote o ptional configuration properties for Apache Kafka. (E.g. "property1: value1, property2: value2")

For more information on Axis2 JMS properties, go to Apache Kafka Documentation.

optional.configurationzk.sessiontimeout.ms:6000
Topic Kafka Name of the Kafka topic to which, input messages are published
topic
test_topic
Is events duplicated in cluster In a cluster whether the same event can reach two receiver nodes
events.duplicated.in.cluster
true/false

Related samples

For more information on kafka event receiver type, see the following sample in WSO2 CEP Documentation.

...