WSO2Event input WSO2Event event adapter is receiver 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
...
event receiver
For instructions on creating a WSO2Event input event adapter event receiver, see Receiving Events.
...
Specify the Adapter Properties, when creating a WSO2Event input event adapter using event receiver 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 |