You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yifan Cai (Jira)" <ji...@apache.org> on 2026/04/30 03:41:00 UTC

[jira] [Created] (CASSSIDECAR-447) Scope all CDC dependencies exclusively to CdcModule

Yifan Cai created CASSSIDECAR-447:
-------------------------------------

             Summary: Scope all CDC dependencies exclusively to CdcModule
                 Key: CASSSIDECAR-447
                 URL: https://issues.apache.org/jira/browse/CASSSIDECAR-447
             Project: Sidecar for Apache Cassandra
          Issue Type: Improvement
          Components: CDC
            Reporter: Yifan Cai
            Assignee: Yifan Cai


Many CDC classes are annotated with both @Singleton and @Inject is JIT-bindable by Guice regardless of whether its owning module is installed. This meant all CDC singletons could be created even when CDC was disabled, simply by being injected as a transitive dependency.

Proposing the patch to properly honor the feature flag, cdc_enabled. If the feature flag is disabled, ensuring CDC objects are not instantiated.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org