How we can use Kafka Connect with Cassandra without using the Confluent frameworks.
相关问题
- Delete Messages from a Topic in Apache Kafka
- What version of Java does Cassandra 3 require
- Filter from Cassandra table by RDD values
- Serializing a serialized Thrift struct to Kafka in
- Kafka broker shutdown while cleaning up log files
相关文章
- Cassandra Read a negative frame size
- How does cassandra split keyspace data when multip
- How does Cassandra scale horizontally ?
- Kafka doesn't delete old messages in topics
- NoSQL Injection? (PHP->phpcassa->Cassandra)
- Executing CQL through Shell Script?
- Kafka + Spark Streaming: constant delay of 1 secon
- Spring Kafka Template implementaion example for se
Yes ,you can basically you have to use Kafka Connect api and Cassandra Drivers by DataStax, and build your code for Kafka-cassandra-connect.
Kafka Connect is the framework. Confluent only offers connectors. If you don't want to use Confluent Open Source (but why wouldn't you?), you can use all those connectors with vanilla Apache Kafka, too.
There are multiple Casandra connectors available: https://www.confluent.io/product/connectors/
Btw: none of the listed Casandra connectors is maintained by Confluent.
Of course, you could also write you own connector or use any other third party connector.
The DataMountaineer Stream Reactor has a Cassandra Source and Sink solution that can be used with Kafka Connect.
Drop the jar file (download) into the Kafka libs folder and then specify your connector as follows:
Start Kafka Connect
And load the Cassandra Connector into Kafka Connect via the JSON properties file noted above (assuming it has the name connect-cassandra-source.json)
You will need to create a table that has a timeuuid column as a cluster key. That is described here.