user2425109
user2425109

Reputation: 347

Adding filter expression in collection mapping rules XDCR with Java client

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

Answers (1)

Perry Krug
Perry Krug

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

Related Questions