对于Cassandra kundera.client.lookup.class选项 [英] For Cassandra kundera.client.lookup.class options

查看:214
本文介绍了对于Cassandra kundera.client.lookup.class选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了为Cassandra配置kundera,我注意到 kundera.client.lookup.class 有以下三种可能的选项

In order to configure kundera for Cassandra, I notice there are 3 possible options for kundera.client.lookup.class as below


  1. com.impetus.client.cassandra.pelops.PelopsClientFactory

  2. com.impetus.kundera.client.cassandra.dsdriver.DSClientFactory

  3. com.impetus.client.cassandra.thrift.ThriftClientFactory

我不确定上述3的利弊因此不确定使用哪一个。请帮我决定

I am not sure of the Pros and Cons of the above 3 and hence not sure which one to use. Please help me decide

推荐答案

经过进一步研究,我发现了以下

After further research, I found the following

不要使用PelopsClient 作为其未处于@karthik所述的活动开发中,更重要的是因为报告的问题这里

Don't use PelopsClient as its not in active development as mentioned by @karthik , but more importantly because of the issue reported here

Data Stax Driver比thrift 客户端,因为它的一些限制thrift和他们使用一个不同的二进制协议专门针对cassandra,这给了一个更好的性能。请参阅 Datastax java驱动程序对Cassandra的支持使用Kundera

Data Stax Driver is better than thrift client as it over comes few limitations of thrift and they use a different binary protocol specific to cassandra which gives a better performance. Refer Datastax java driver support for Cassandra using Kundera

这篇关于对于Cassandra kundera.client.lookup.class选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆