[
https://issues.apache.org/jira/browse/CAMEL-23300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Federico Mariani updated CAMEL-23300:
-------------------------------------
Fix Version/s: 4.19.0
> camel-couchbase: add connectionString option to support dynamic KV port
> mapping
> -------------------------------------------------------------------------------
>
> Key: CAMEL-23300
> URL: https://issues.apache.org/jira/browse/CAMEL-23300
> Project: Camel
> Issue Type: Improvement
> Components: camel-couchbase
> Reporter: Federico Mariani
> Priority: Minor
> Fix For: 4.19.0
>
>
> The Couchbase component currently constructs its own connection by extracting
> only the hostname from the endpoint URI and passing it to
> Cluster.connect(hostname). This causes the Couchbase Java SDK to default the
> KV port to 11210, making it impossible to connect to a Couchbase instance
> where the KV port is mapped to a non-standard port (e.g., when using
> testcontainers with random port mappings).
> Adding a connectionString option (e.g., couchbase://host:49152) would allow
> users to pass a full SDK connection string, bypassing the hostname-only
> extraction. This also aligns with the Couchbase SDK's recommended connection
> pattern and unblocks using random ports in test infrastructure.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)