WAN Replication Acknowledge Types

Starting with 3.6, Enterprise WAN replication supports different acknowledge (ACK) types for each target cluster group. Using this ACK types, you can choose from two different ACK types depending on your consistency requirements. The following ACK types are supported:

  • ACK_ON_TRANSMIT: Events that are received by target cluster that are considered as successful. This option does not guarantee that the received event is actually applied but it is faster.
  • ACK_ON_OPERATION_COMPLETE: This option guarantees that the event is received by the target cluster and it is applied. It is more time consuming. But
    but it is the best way if you have strong consistency requirements.

The following is an example configuration:

<wan-replication name="my-wan-cluster">
  <target-cluster group-name="test-cluster-1" group-password="test-pass">
    ...
    <acknowledge-type>ACK_ON_OPERATION_COMPLETE</acknowledge-type>
  </target-cluster>
</wan-replication>

image NOTE: acknowledge-type configuration is optional. Default value of it is ACK_ON_OPERATION_COMPLETE.