Skip to content

Commit

Permalink
JAVA-3000 Native protocol docs still list C* 4.0 as unreleased, v5 in…
Browse files Browse the repository at this point in the history
… beta (#1673)
  • Loading branch information
absurdfarce authored Jul 11, 2023
1 parent f3ff471 commit 63ed4ce
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 16 deletions.
21 changes: 9 additions & 12 deletions manual/core/native_protocol/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,26 @@ only available with specific protocol versions.
Java driver 4 supports protocol versions 3 to 5. By default, the version is negotiated with the
first node the driver connects to:

| Cassandra version | Negotiated protocol version with driver 4 ¹ |
|---------------------|-------------------------------------------------|
| 2.1.x | v3 |
| 2.2.x | v4 |
| 3.x | v4 |
| 4.x ² | v5 |
| Cassandra version | Negotiated protocol version with driver 4 ¹ |
|-------------------|-------------------------------------------------|
| 2.1.x | v3 |
| 2.2.x | v4 |
| 3.x | v4 |
| 4.x | v5 |

*(1) for previous driver versions, see the [3.x documentation][driver3]*

*(2) at the time of writing, Cassandra 4 is not released yet. Protocol v5 support is still in beta,
and must be enabled explicitly (negotiation will yield v4).*

Since version 4.5.0, the driver can also use DSE protocols when all nodes are running a version of
DSE. The table below shows the protocol matrix for these cases:

| DSE version | Negotiated protocol version with driver 4 |
|---------------------|-------------------------------------------------|
| 4.7/4.8 | v3 |
| 5.0 | v4 |
| 5.1 | DSE_V1 ³ |
| 6.0/6.7/6.8 | DSE_V2 ³ |
| 5.1 | DSE_V1 ² |
| 6.0/6.7/6.8 | DSE_V2 ² |

*(3) DSE Protocols are chosen before other Cassandra native protocols.*
*(2) DSE Protocols are chosen before other Cassandra native protocols.*

### Controlling the protocol version

Expand Down
6 changes: 2 additions & 4 deletions manual/developer/native_protocol/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ This part of the code lives in its own project:

The protocol specifications are available in
[native-protocol/src/main/resources](https://github.com/datastax/native-protocol/tree/1.x/src/main/resources).
These files originally come from Cassandra, we copy them over for easy access. Note that, if the
latest version is a beta (this is the case for v5 at the time of writing -- September 2019), the
specification might not be up to date. Always compare with the latest revision in
[cassandra/doc](https://github.com/apache/cassandra/tree/trunk/doc).
These files originally come from Cassandra, we copy them over for easy access. Authoritative specifications can
always be found in [cassandra/doc](https://github.com/apache/cassandra/tree/trunk/doc).


For a broad overview of how protocol types are used in the driver, let's step through an example:
Expand Down

0 comments on commit 63ed4ce

Please sign in to comment.