General info:
Using tomcat server7.0 with JDK1.7
I have two servers, and I'm using Hazlecat version 3.0 for caching.
My problem is with CEP engine. Using WSO2 engine
I added the following to my pom.xml:
<dependency>
<groupId>org.wso2.siddhi</groupId>
<artifactId>siddhi-api</artifactId>
<version>2.1.0-wso2v1</version>
</dependency>
<dependency>
<groupId>org.wso2.siddhi</groupId>
<artifactId>siddhi-core</artifactId>
<version>2.1.0-wso2v1</version>
</dependency>
<dependency>
<groupId>org.wso2.siddhi</groupId>
<artifactId>siddhi-query</artifactId>
<version>2.1.0-wso2v1</version>
</dependency>
I set siddhiConfig to DistributedProcessing(true) + set the instanceIdentifier to have the same id of my HazelcastInstance.
Each one of the server has one instance of siddihiManager.
My question is, does the 2 server read from/write to the same cache?
I saw in other places that there is a need to sync between the two servers. Any idea how?
Thanks