Adding filter expression in collection mapping rules XDCR with Java client

72 views Asked by At

I am integrating XDCR via JAVA Sdk. If I need to setup filter expression per collection mapping rule how to do in java? say collection mapping rule 1 has one filter expression, collection mapping rule 2 has some other filter expression and so on.

1

There are 1 answers

0
Perry Krug On

You can use the REST API to configure collection mappings: https://docs.couchbase.com/server/current/rest-api/rest-xdcr-adv-settings.html (look for calMappingRules)