You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2026/03/19 15:13:00 UTC
[jira] [Assigned] (CAMEL-23218) camel-couchbase: Migrate consumer from deprecated MapReduce Views to SQL++ (N1QL) queries
[ https://issues.apache.org/jira/browse/CAMEL-23218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet reassigned CAMEL-23218:
---------------------------------------
Assignee: Guillaume Nodet
> camel-couchbase: Migrate consumer from deprecated MapReduce Views to SQL++ (N1QL) queries
> -----------------------------------------------------------------------------------------
>
> Key: CAMEL-23218
> URL: https://issues.apache.org/jira/browse/CAMEL-23218
> Project: Camel
> Issue Type: Improvement
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Priority: Major
>
> The camel-couchbase consumer currently relies on Couchbase MapReduce Views (bucket.viewQuery()) to poll for documents. MapReduce Views were deprecated in Couchbase Server 7.0 (July 2021) and do not work with the Magma storage backend, which became the default in Couchbase Server 8.0.
> This means:
> - The consumer cannot work with Couchbase 8.0 buckets using the default Magma storage backend
> - Users must explicitly configure CouchStore storage backend to use the consumer
> - The feature the consumer depends on will eventually be removed from Couchbase Server
> The consumer should be modernized to use SQL++ (formerly N1QL) with Global Secondary Indexes (GSI) as the query mechanism, which is the recommended replacement per Couchbase documentation.
> The producer side (KV operations: get, upsert, remove) already works with any storage backend and needs no changes.
> References:
> - Views deprecated in 7.0: https://docs.couchbase.com/server/7.0/release-notes/relnotes.html
> - Magma default in 8.0: https://docs.couchbase.com/server/current/introduction/whats-new.html
> - Views alternatives: https://www.couchbase.com/blog/couchbase-views-and-better-alternatives-part-1-of-2/
> - Related PR (Couchbase 8.0 container upgrade): https://github.com/apache/camel/pull/21891
--
This message was sent by Atlassian Jira
(v8.20.10#820010)