Hi,
I’m trying to set up Couchbase Lite in .NET Core with Channels.
I have configured the Replicator to use a specific channel filtered by two fields and it works fine with default settings.
However, when I try setting ReplicatorConfiguration.Continuous to true, the app replicates my entire bucket contents, instead of just the documents matching the channel.
var target = new URLEndpoint(url);
var config = new ReplicatorConfiguration(Database, target)
{
ReplicatorType = ReplicatorType.PushAndPull
};
var channels = new List() { Year + Event };
config.Channels = channels;
config.Continuous = true;
Replicator = new Replicator(config);
Replicator.Start();
What am I missing here?
Thanks,
yanc