[
https://issues.apache.org/jira/browse/CASSSIDECAR-511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jyothsna Konisa updated CASSSIDECAR-511:
----------------------------------------
Summary: Make the CDC CassandraBridge injectable (was: Reintroduce an
injectable CassandraBridgeFactory for CDC bridge lookup)
> Make the CDC CassandraBridge injectable
> ---------------------------------------
>
> Key: CASSSIDECAR-511
> URL: https://issues.apache.org/jira/browse/CASSSIDECAR-511
> Project: Sidecar for Apache Cassandra
> Issue Type: Bug
> Reporter: Jyothsna Konisa
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The Sidecar's CDC components used to obtain Cassandra bridges through an
> injectable org.apache.cassandra.sidecar.bridge.CassandraBridgeFactory,
> provided by CdcModule. It was removed during CASSSIDECAR-507. Since then, the
> CDC components call the static org.apache.cassandra.bridge.CdcBridgeFactory
> from cassandra-analytics directly, and SidecarCdcOptions resolves the
> Cassandra version with the static CassandraVersion.fromVersion(…).Because
> these calls are static, how CDC resolves a Cassandra instance's version and
> obtains its bridge is no longer an extension point. Deployments that embed
> the Sidecar and supply their own Guice modules (via Modules.override) can't
> customize it, and tests have to go through the static factories instead of
> injecting a stub.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]