[
https://issues.apache.org/jira/browse/CAMEL-23218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on CAMEL-23218 started by 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)