Support of sync gateway on server specific collection

Does Couchbase sync gateway supports change detection of a specific collection (not default) of Couchbase server?
I have tried to run CB server and sync gateway, and it is detecting changes but only on the default collection, even when I’m changing my config file according to this guide:

Much more details available in an issue I’ve opened on GitHub:

From thw error message. It sounds like it like you have a mismatch with the collection name. Is it “specific_collection” or “cdp_business_unit”?

When going to “http://localhost:4985/demobucket._default.specific_collection/_changes” I get:
{
“error”: “not_found”,
“reason”: “keyspace demobucket._default.cdp_business_unit not found”
}

It was my bad displaying the correct error.
The correct error was:
{
“error”: “not_found”,
“reason”: “keyspace demobucket._default.specific_collection not found”
}

Anyway, I’ve solved the issue by updating the config with the API of “http://localhost:4985/demobucket/_config”. Is there a way to configure the config on the file level instead of calling the API?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.