Re: High availability of local listeners for ContinuousQuery or Events

2020-11-13 Thread Stanislav Lukyanov
Hi, It's true that currently you need to implement something for Continuous Queries failover in your application code. Continuous Queries have setInitialQuery API to help with that. How it's supposed to work is: you define an initial query (e.g. an SQL query) which fetches the data that's alrea

Re: High availability of local listeners for ContinuousQuery or Events

2020-10-30 Thread 38797715
Hi Igor, We hope that if the local listener node fails, we can have a mechanism similar to fail over. Otherwise, if the local listener node fails and restarts, the events during the failure will be lost. 在 2020/10/30 上午12:04, Igor Belyakov 写道: Hi, In case the node, which registered a contin

Re: High availability of local listeners for ContinuousQuery or Events

2020-10-29 Thread Igor Belyakov
Hi, In case the node, which registered a continuous query fails, the continuous query will be undeployed from the cluster. The cluster state won't be changed. It's not a good practice to write the business code in a remote filter. Could you please clarify more details regarding your use case? Ig

High availability of local listeners for ContinuousQuery or Events

2020-10-29 Thread 38797715
Hi community, For local listeners registered for ContinuousQuery and Events, is there a corresponding high availability mechanism design? That is, if the node registering the local listener fails, what state will the cluster be? If do not register a local listener, but write the business code