是否可以在不停止 cassandra 服务的情况下禁用对 cassandra 的客户端请求(cqlsh)?

Is it possible to disable client request(cqlsh) to cassandra without stopping cassandra service?

尝试了以下,

nodetool disablethrift

我需要额外配置吗?

Cassandra 支持两种不同的客户端连接数据库协议:thrift 和 cql 二进制协议。 thrift 接口已弃用,最终将被删除。现代客户端库使用 cql 二进制协议(包括 cqlsh)。

要使 cassandra 停止接受使用 cql 二进制协议的客户端,您可以 运行:

nodetool disablebinary