operator-framework / operator-framework/java-operator-sdk

InformerEventSource public API refinements

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

还没有人认领这个 Issue。

主要语言
Java
星标
944
派生
242
平均合并
1 天 4 小时
30 天内合并 PR
43

描述

Currently InformerEventSource and ControllerEventSource extends ManagedEventSource; but this results in methods which are public but otherwise just should be hidden from the users.

We should refine this, and just exposes methods which are user facing as public; In other words we should have composition over inheritance.

贡献指南

打开贡献指南

从这里开始

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

调研方向

首先检查 InformerEventSource、ControllerEventSource 和 ManagedEventSource,盘点继承的 public 方法,并区分面向用户的行为与实现细节。根据项目的 API 约定确认预期的公共接口范围和组合设计;当只有面向用户的方法仍对外公开,且不再暴露不需要的继承 API 时,工作即告完成。

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

评估

技术栈
java
领域
api
Issue 类型
重构
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

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