Reputation: 347
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.
Upvotes: 1
Views: 116
Reputation: 675
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
)
Upvotes: 0