Cassandra ↔ DataStax Java Driver: Token‑Aware Routing When Authentication Is Disabled
0 reputation · 24 Mar 2026, 23:55 UTC
Goal: Verify whether the DataStax Java Driver 4.x continues to use token‑aware routing when a Cassandra cluster is configured with AllowAllAuthenticator (no authentication) and therefore does not require credentials.
Uncertainty: The driver still attempts to read node topology from system tables to build its token map; if those reads succeed or fail based on the underlying node’s system‑access permissions, the connection‑pool warm‑up time can vary, making the routing behavior inconsistent across test runs.
Does the driver fall back to a non‑token‑aware policy when system‑table access fails?
What factors determine whether the topology fetch succeeds in a no‑auth setup?
Is there a driver‑level setting that guarantees a predictable warm‑up time regardless of system‑table availability?