Kafka Connect Cassandra与Cosmos Cassandra兼容吗?

时间:2019-03-26 14:22:28

标签: cassandra azure-cosmosdb apache-kafka-connect azure-cosmosdb-cassandra-api

我正在使用Kafka Connect Cassandra读取Kafka主题并插入到Cassandra中,这与Cosmos Cassandra兼容吗?

1 个答案:

答案 0 :(得分:1)

请查看Stream Reactor中提到的link

连接到Cosmos DB Cassandra API:

SELECT l.*
  INTO #temp_length
  FROM leftTable l
  LEFT JOIN rightTable r
        ON l.id = r.id AND l.start <= r.start
        AND l.end > r.start and l.type IN ('A', 'B', 'C') AND l.id IN (SELECT id FROM lookupTable WHERE d_type = 'Z')
        AND l.disabled = 'N'
        AND r.latest = 'Y'
        WHERE r.id IS NULL