Skip to content

Track support of Amazon Keyspaces (for Apache Cassandra) #180

@codefromthecrypt

Description

@codefromthecrypt

No one has yet asked for this, but I played with Amazon Keyspaces which seems a fork or emulation of Cassandra with some restricted features.

In case it comes up, here are some blockers cc @openzipkin/cassandra

Minimum version problem

Keyspaces thinks it is Cassandra 3.11.2. Zipkin's floor version 3.11.3. Note: 3.11.3 was released over 2 years ago!

Connected to Amazon Keyspaces at cassandra.ap-southeast-1.amazonaws.com:9142.
[cqlsh 5.0.1 | Cassandra 3.11.2 | CQL spec 3.4.4 | Native protocol v4]
Use HELP for help.
cassandra-at-993194456877@cqlsh> show version
[cqlsh 5.0.1 | Cassandra 3.11.2 | CQL spec 3.4.4 | Native protocol v4]

UDT support problem

Zipkin's schema uses UDTs, but Keyspaces crashes on the statements to create them:

Connected to Amazon Keyspaces at cassandra.ap-southeast-1.amazonaws.com:9142.
[cqlsh 5.0.1 | Cassandra 3.11.2 | CQL spec 3.4.4 | Native protocol v4]
Use HELP for help.
cassandra-at-993194456877@cqlsh> CREATE KEYSPACE IF NOT EXISTS zipkin2
   ...   WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '1'}
   ...   AND durable_writes = false;
cassandra-at-993194456877@cqlsh> CREATE TYPE IF NOT EXISTS zipkin2.endpoint (
   ...     service      text,
   ...     ipv4         inet,
   ...     ipv6         inet,
   ...     port         int,
   ... );
InvalidRequest: Error from server: code=2200 [Invalid query] message="Unsupported statement: org.apache.cassandra.cql3.statements.CreateTypeStatement@76a6eb0f"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions