Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Apache Curator always uses cluster-internal addresses when reconnecting

未关闭
#913 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
30/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
java, kubernetes, rust

调研方向

首先跟踪 operator 的 ZooKeeper 连接配置,以及 Apache Curator 在初始连接后如何接收 ensemble 地址。验证在重新连接期间如何生成和使用外部可访问的地址,然后确认 Kubernetes 集群外的客户端可以重新连接,而无需依赖集群内部地址。

由索引模型根据 Issue 内容生成。

描述

type/bug
Affected Stackable version

24.3.0

Affected Apache ZooKeeper version

3.8.4

Current and expected behavior

See https://stackable-workspace.slack.com/archives/C042UDVBRQF/p1738075756767349, originally reported by @djtfmartin

Once it has connected once, Curator will pull the list of ensemble members from the ZooKeeper cluster, and use that instead of the configured connection string for reconnection attempts. This always contains the internal addresses, so clients that are not inside of the Kubernetes cluster will then fail to reconnect.

Possible solution

Ideally, fix the reported configuration so that it contains the correct addresses.

As a workaround, @gbif patched Curator to disable this functionality.

Additional context

No response

Environment

No response

Would you like to work on fixing this bug?

None

主要语言
Rust
星标
37
派生
12
平均合并
18 小时 45 分钟
30 天内合并 PR
10

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

stackabletech/zookeeper-operator 的其他 Issue

查看 stackabletech/zookeeper-operator 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。