13.13. Compatibility Between Server and Hot Rod Client Versions
The following will be the impact on the client side:
- client will not have advantage of the latest protocol improvements.
- client might run into known issues which are fixed for the server-side version.
- client can only use the functionalities available in its current version and the previous versions.
In this case, when a Hot Rod client connects to a JBoss Data Grid server, the connection will be rejected with an exception error. The client can be downgraded to a known protocol version by setting the client side property -
org.infinispan.client.hotrod.configuration.ConfigurationBuilder.protocolVersion to a specific version, such as Hot Rod 1.3, as a String. In this case the client is able to connect to the server, but will be restricted to the functionality of that version. Any command which is not supported by this protocol version will not work and throw an exception. Also, the topology information might be inefficient in this case.
Table 13.47. Hot Rod client and server compatibility
|JBoss Data Grid Server Version||Hot Rod Protocol Version|
|JBoss Data Grid 6.6.1||Hot Rod 2.3|
|JBoss Data Grid 6.6.0||Hot Rod 2.3|
|JBoss Data Grid 6.5.1||Hot Rod 2.2|
|JBoss Data Grid 6.5.0||Hot Rod 2.2|
|JBoss Data Grid 6.4.1||Hot Rod 2.0|
|JBoss Data Grid 6.4.0||Hot Rod 2.0|
|JBoss Data Grid 6.3.2||Hot Rod 2.0|
|JBoss Data Grid 6.3.1||Hot Rod 2.0|
|JBoss Data Grid 6.3.0||Hot Rod 2.0|
|JBoss Data Grid 6.2.1||Hot Rod 1.3|
|JBoss Data Grid 6.2.0||Hot Rod 1.3|
|JBoss Data Grid 6.1.0||Hot Rod 1.2|
|JBoss Data Grid 6.0.1||Hot Rod 1.1|
|JBoss Data Grid 6.0.0||Hot Rod 1.1|