我正在使用Kafka Connect Cassandra读取Kafka主题并插入到Cassandra中,这与Cosmos Cassandra兼容吗?
答案 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