Skip to content

CAMEL-23300: add connectionString option to couchbase-sink kamelet#2792

Merged
Croway merged 1 commit into
mainfrom
CAMEL-23300/couchbase-sink-connection-string
Apr 13, 2026
Merged

CAMEL-23300: add connectionString option to couchbase-sink kamelet#2792
Croway merged 1 commit into
mainfrom
CAMEL-23300/couchbase-sink-connection-string

Conversation

@Croway
Copy link
Copy Markdown
Contributor

@Croway Croway commented Apr 13, 2026

Summary

  • Expose the new connectionString endpoint option (added in CAMEL-23300) as an optional property on the couchbase-sink kamelet
  • Uses {{?connectionString}} so the parameter is only included when explicitly set
  • Required for camel-kafka-connector daily CI which uses Testcontainers with random port mapping — without connectionString, the Couchbase SDK defaults the KV port to 11210 which is unreachable on the host side

Context

The camel-couchbase component added connectionString in two commits on main:

  • 6c2f458 — add connectionString endpoint option and switch test-infra to random ports
  • d004589 — bypass Couchbase 8.0 CPU microarchitecture check in test-infra

The camel-kafka-connector daily build has been failing since build #345 because the couchbase-sink kamelet does not expose connectionString, so the connector cannot pass it to the endpoint.

Test plan

  • Verified locally: applied this kamelet change + corresponding CKC test changes, ran CamelSinkCouchbaseITCase — test passes
  • No couchbase integration tests exist in camel-kamelets currently

The camel-couchbase component now supports a connectionString endpoint
option (added in CAMEL-23300) that takes precedence over hostname
extraction for the KV service port. This is required when Testcontainers
maps ports randomly, as the SDK defaults the KV port to 11210 which is
unreachable on the host side.

Expose the new option as an optional kamelet property so that
camel-kafka-connector and other kamelet consumers can pass the full
SDK connection string (e.g. couchbase://host:mappedKvPort).
@Croway Croway requested a review from oscerd April 13, 2026 09:30
@Croway
Copy link
Copy Markdown
Contributor Author

Croway commented Apr 13, 2026

The failures are unrelated

@Croway Croway merged commit c198d47 into main Apr 13, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants