【问题标题】:KafkaConnect - SQL Trusted Authentication (Windows)Kafka Connect - SQL 可信身份验证 (Windows)
【发布时间】:2018-12-12 10:35:16
【问题描述】:

目前要连接到 MSSQSL 数据库,我必须按照以下登录详细信息创建本地 SQL 登录:

name=jdbcIbLog
connector.class=io.confluent.connect.jdbc.JdbcSourceConnector
**connection.user=username**
**connection.password=password**
tasks.max=1
connection.url=jdbc:sqlserver://servername
topic.prefix=webiblog
query=SELECT * FROM IB_WEBLOG_DUMMY_small
value.converter=org.apache.kafka.connect.json.JsonConverter
key.converter=org.apache.kafka.connect.json.JsonConverter
poll.interval.ms=5000
table.poll.interval.ms=5000
mode=incrementing
incrementing.column.name=ID

这是一个快速修复,因为我目前使用 Windows 身份验证连接到 MSSQL。 Kafka-Connect 是否支持使用 Windows 凭据登录? 这是一个 Centos 盒子

预期的输出是能够为允许 MSSQL 连接的给定 Windows 用户提供用户名和密码。

【问题讨论】:

    标签: sql-server jdbc apache-kafka-connect confluent-platform


    【解决方案1】:

    很确定它不适用于 CentOS 的 integrated authentication,因为它依赖于 dll (sqljdbc_auth.dll)。 但是您应该可以使用Kerberos with your JDBC connection。另见Connect to SQL Server from Linux via JDBC using integratedSecurity (Windows authentication)?

    【讨论】:

      猜你喜欢
      • 2010-10-05
      • 2019-11-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-12-07
      相关资源
      最近更新 更多