WSO2Event input event adapter is used to receive events in the WSO2Event format via Thrift or binary protocols. By default it uses the following ports to retrieve events.
...
- Use the following format for load-balancing:
{tcp://<hostname>:<port>,tcp://<hostname>:<port>, ...}
- Use the following format for failover:
{tcp://<hostname>:<port>|tcp://<hostname>:<port>| ...}
- Use the following format to send messages to more than one cluster of endpoints (cluster is defined using "{}") :
{tcp://<hostname>:<port>|tcp://<hostname>:<port>| ...},{tcp://<hostname>:<port>}
In the above format, the event is delivered to one endpoint on the first cluster of endpoints in a failover manner. Also, the same message is delivered to the endpoint defined in the second cluster.
Creating a WSO2Event input event adapter
For instructions on creating a WSO2Event input event adapter, see Receiving Events.
Configuring adapter properties
Specify the Adapter Properties, when creating a WSO2Event input event adapter using the management console as shown below.
...
Adapter Property | Description | Configuration file property | Example |
---|---|---|---|
Is events duplicated in cluster | In a cluster whether the same event can reach two receiver nodes | events.duplicated.in.cluster | true/false |