4paradigm / 4paradigm/OpenMLDB

Support secured ZooKeeper cluster for OpenMLDB

オープン
#812 コメント 0 件 リアクション 0 件 担当者 1 名 @tobegit3hub が担当を希望しています GitHub で見る
enhancement
主要言語
C++
スター
1.7k
フォーク
331
平均マージ
12日 12時間
マージ済み PR(30日)
1

説明

For C++ and Java modules like NameServer and TaskManager, we should support secured ZooKeeper cluster by setting jaas file and krb5 file.

Here is the example code the enable secured ZK in Java processes.

```
if (isZkSecure) {
LOG.info("Connect with secure ZooKeeper cluster, use " + jaasFile + " and " + krb5File);
System.setProperty("java.security.auth.login.config", jaasFile);
System.setProperty("java.security.krb5.conf", krb5File);
}
```

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

The issue mentions enabling secured ZooKeeper for C++ and Java modules like NameServer and TaskManager. Look for where ZooKeeper connections are configured in these modules. The example shows setting Java system properties for JAAS and krb5 files; similar secure configuration may be needed for C++ components. Check existing ZK client initialization code to see where authentication can be added. Testing will involve setting up a secure ZK cluster and verifying connections.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
backend, databases, security
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。