diff --git a/cpo-cassandra/pom.xml b/cpo-cassandra/pom.xml index 3f67b6d06..5dd0cab9d 100644 --- a/cpo-cassandra/pom.xml +++ b/cpo-cassandra/pom.xml @@ -38,7 +38,7 @@ initDB.cql cpoConfig.xml - cassandra:3.11.19 + cassandra:4.1.5 127.0.0.1 cpokeyspace ${project.baseUri}target/test-classes/cassandraMetaData.xml @@ -127,9 +127,9 @@ test - com.datastax.cassandra - cassandra-driver-core - 3.11.5 + org.apache.cassandra + java-driver-core + 4.19.2 + - + - This is the user to log into the data source. If the user is supplied in the url, this element should not be included. + + Whether DefaultLoadBalancingPolicy orders replicas by responsiveness/uptime (true) or + simply shuffles them (false) (basic.load-balancing-policy.slow-replica-avoidance). + - + - This is the password to log into the data source. If the password is supplied in the url, this element should not be included. + + Fully qualified class name of a custom NodeDistanceEvaluator, constructed by the driver + via a (DriverContext, String profileName) constructor + (advanced.load-balancing-policy.evaluator.class / LOAD_BALANCING_DISTANCE_EVALUATOR_CLASS). + + + + + + + The maximum number of nodes to contact in each remote datacenter for cross-datacenter + failover; 0 (the default) disables failover + (advanced.load-balancing-policy.dc-failover.max-nodes-per-remote-dc). + + + + + + + Whether cross-datacenter failover is allowed for requests using a local consistency + level (LOCAL_ONE, LOCAL_QUORUM, LOCAL_SERIAL). + + + + + + + An ordered remote datacenter name to prefer when building a failover query plan; repeat + for multiple datacenters, in preference order. + - - - - - - - + + + + + + A cipher suite to enable; repeat for multiple suites. + + + + + Whether to validate that the server certificate's hostname matches. + + + + + Whether to allow a DNS reverse lookup for SAN addresses when contact points are literal IPs. + + + + + + + + + How often to reload the keystore from keystorePath; if absent, it is never reloaded. + + + + - - - - - - - - + + + + + + Used only with FixedHostNameAddressTranslator. + + + + + Used only with SubnetAddressTranslator; repeat for multiple subnets. + + + + + Used only with SubnetAddressTranslator: the address to translate to when no subnet matches. + + + + + Whether to resolve addresses once on initialization (true) or on each node (re-)connection (false). + + + + - - + - + - Sets the core and maximum number of connections per host in one call. + A CIDR block, e.g. "100.64.0.0/15". - + - Sets the core number of connections per host. + The "host:port" to translate matching addresses to. - + + + + + + + - Sets the heart beat interval, after which a message is sent on an idle connection to make sure it's still alive. + Whether to force the driver to use Java's millisecond-precision system clock instead of the native microsecond-precision clock. + + + + + How far in the future timestamps may drift before a warning is logged; 0 disables the warning. + + + + + How often the drift warning is re-logged while timestamps keep drifting above the threshold. + + + + + + + + + + + Whether a warning is logged when a request changes the session's active keyspace (advanced.request.warn-if-set-keyspace). + + + + + Whether server-generated query warnings are logged by the driver (advanced.request.log-warnings). + + + + + How many times the driver retries fetching a query trace if it is not ready yet. + + + + + The interval between each query trace fetch attempt. + + + + + The consistency level to use when fetching query traces. + + + + + + + + + + + + Fully qualified class name of a RequestTracker to register; repeat for multiple + trackers. The driver provides RequestLogger out of the box (configured below). + + + + + + + The threshold above which a successful request is classified as "slow". + + + + + + + + + + + + + + + + + + + Fully qualified class name of a RequestThrottler implementation, constructed by the + driver via a (DriverContext) constructor. The driver provides + PassThroughRequestThrottler (default, no throttling), ConcurrencyLimitingRequestThrottler, + and RateLimitingRequestThrottler out of the box. + + + + + + The maximum number of requests that can be enqueued once the throttling threshold is exceeded. + + + + + Used only by ConcurrencyLimitingRequestThrottler. + + + + + Used only by RateLimitingRequestThrottler. + + + + + Used only by RateLimitingRequestThrottler: how often the throttler attempts to dequeue requests. + + + + + + + + + + + Whether schema metadata (Session.getMetadata().getKeyspaces()) is enabled. + + + + + + A keyspace name-matching rule for which schema/token metadata is maintained (exact + inclusion, "!"-prefixed exact exclusion, "/regex/" inclusion, or "!/regex/" exclusion); + repeat for multiple rules. If none are given, all keyspaces are included. + + + + + + + + The debounce window for coalescing bursts of schema-change events. + + + + + The maximum number of schema-change events to accumulate before forcing a refresh. + + + + + The debounce window for coalescing bursts of topology events. + + + + + The maximum number of topology events to accumulate before forcing propagation. + + + + + Whether token metadata (Session.getMetadata().getTokenMap()) is enabled. + + + + + + + + + + + Whether Session.prepare() calls are re-sent to all other active nodes after succeeding on the first one. + + + + + Whether the driver re-prepares statements on a node that just came back up or joined the cluster. + + + + + + The maximum number of statements to reprepare; 0 or negative means no limit. - + + + - Sets the timeout before an idle connection is removed. + Whether the driver-side prepared statement cache uses weak references for its values. - + + + + + + + + + Whether the driver's internal threads are daemon threads. + + + - Sets the maximum number of connections per host. + The number of I/O threads; 0 means availableProcessors() * 2. - + + + - Sets the maximum number of requests per connection. + The number of admin threads (cluster events, metadata refresh, reconnection scheduling). - + + + - Sets the threshold that triggers the creation of a new connection to a host. + How often the request-timeout/speculative-execution timer wakes up to check for expired tasks. - + - Sets the timeout when trying to acquire a connection from a host's pool. + The size of the timer's hashed wheel. - + + - + + + + The metrics library to use: "DefaultMetricsFactory"/"DropwizardMetricsFactory" (default), + "MicrometerMetricsFactory", "MicroProfileMetricsFactory", "NoopMetricsFactory" to force + disable, or a custom fully qualified MetricsFactory class name. + + + + + + "DefaultMetricIdGenerator" (name-only, e.g. for Dropwizard) or "TaggingMetricIdGenerator" (name+tags, e.g. for Micrometer). + + + - The HostDistance for which to set these threshold. + An optional prefix prepended to every generated metric name. - + + - the core number of connections. + + The name of a session-level metric to enable (e.g. "cql-requests", "bytes-sent", + "connected-nodes"); repeat for multiple metrics. All session metrics are disabled by + default. + - + - the max number of connections. + + The name of a node-level metric to enable (e.g. "cql-messages", "pool.open-connections"); + repeat for multiple metrics. All node metrics are disabled by default. + + + + + + How long to keep a node's metrics registered after it leaves the cluster. + + + + + Histogram tuning for the "cql-requests" session metric, if enabled. + + + + + Histogram tuning for the "throttling.delay" session metric, if enabled. + + + + + Histogram tuning for the "cql-messages" node metric, if enabled. - + - + - The HostDistance for which to set these threshold. + The largest latency expected to be recorded; used to scale internal data structures. - + + + + The number of significant decimal digits of resolution (Dropwizard: 0-5). + + + + + + A service-level-objective latency boundary to guarantee in the histogram; repeat for multiple boundaries (Micrometer only). + + + + + A percentile (0.0-1.0) to publish as its own time series; repeat for multiple percentiles (Micrometer only). + + + + + + + + + + This is the user to log into the data source. If the user is supplied in the url, this element should not be included. + + + - the new threshold. + This is the password to log into the data source. If the password is supplied in the url, this element should not be included. - + - - - + + + + + + + + + + + + + + + + + + + + The number of connections in the pool for a node in the local datacenter (advanced.connection.pool.local.size). + + + + + The number of connections in the pool for a node outside the local datacenter (advanced.connection.pool.remote.size). + + + + + Sets the heart beat interval, after which a message is sent on an idle connection to make sure it's still alive. + + + + + How long the driver waits for the response to a heartbeat before considering it failed (advanced.heartbeat.timeout). + + + + + The timeout for internal queries run just after a connection is opened (advanced.connection.init-query-timeout). + + + + + The timeout used when the driver changes the active keyspace on a connection at runtime (advanced.connection.set-keyspace-timeout). + + + + + The maximum number of requests that can execute concurrently on a single connection; must be positive and less than 32768 (advanced.connection.max-requests-per-connection). + + + + + The maximum number of "orphaned" (timed-out but still unacknowledged) requests before a connection is closed and replaced; must be lower than maxRequestsPerConnection (advanced.connection.max-orphan-requests). + + + + + Whether to log non-fatal errors when the driver tries to open a new connection (advanced.connection.warn-on-init-error). + + + + + @@ -550,11 +1175,6 @@ Sets whether to enable TCP keepalive. - - - Sets the per-host read timeout in milliseconds. - - Sets a hint to the size of the underlying buffers for incoming network I/O.