如何使用cassndra使用app.config实现内部身份验证..而不是来自cassandra.yaml? [英] How to implement internal authentication using cassndra using app.config.. not from cassandra.yaml ?

查看:97
本文介绍了如何使用cassndra使用app.config实现内部身份验证..而不是来自cassandra.yaml?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<configSections>
    <section name="CassandraSharp"

             type="CassandraSharp.SectionHandler, CassandraSharp.Interfaces" />
  </configSections>

  <CassandraSharp>
    <Cluster name="Test Cluster">
      
      <Behavior maxRetries="3" keyspace="ccp" readCL="ONE" writeCL="LOCAL_QUORUM"/>
      <Recovery type="Default"

              interval="2" />
      <Endpoints >
        <Server>localhost</Server>
      </Endpoints>
    </Cluster>

  </CassandraSharp>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
  </startup>

推荐答案

这篇关于如何使用cassndra使用app.config实现内部身份验证..而不是来自cassandra.yaml?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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