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

datalake_agent: service framework (Java)

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

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
grpc, java

调研方向

Start in contrib/datalake_agent after verifying the B0 dependency, then run the planned Maven verification and review the in-process gRPC and Unix-socket test coverage. Done means the two-phase startup, transport security, version handshake, interceptors, configuration mapping, credential scrubbing, UNIMPLEMENTED business RPCs, catalog default, RAT headers, and stated CI acceptance checks all pass.

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

描述

datalake

Part of #2008. Letters (A, B0–B7, C, D, E) are the PRs listed there; this is B1.

Scope

contrib/datalake_agent: JDK 17, Maven, Guice, Netty gRPC. No Iceberg in it yet.

  • Two-phase startup: bind and serve health first, build the injector and flip to SERVING second.
  • Transport: Unix socket by default with configured permissions; TCP only with TLS and a 0600 bearer-token file (current plus rotation-grace token).
  • Interceptors: request context, exception → status with BusinessErrorCode (no stack trace leaves the process), version handshake refusing an old client and naming both versions.
  • HOCON config for process concerns only; everything about a table travels in the request. One request mapper turns the fdw's options into Iceberg property maps.
  • Credential scrubbing in logs; opt-in metrics.
  • Every business RPC answers UNIMPLEMENTED naming the RPC. Catalog management present, off by default.
  • In-process gRPC tests, a Unix-socket test, negative TLS/token tests; CI runs mvn -B verify; RAT headers. The PostgreSQL build does not need Java.
Out of scope

Iceberg operations and catalogs (B3+), the proxy bgworker, installing the jar through make install.

Depends on

B0.

Acceptance
  • Cold start to SERVING under 1.5 s in CI; health answers on the socket.
  • Old client refused naming both versions; TCP without TLS refuses to start; bad token is UNAUTHENTICATED; business RPCs are UNIMPLEMENTED naming the RPC.
  • A fake key in config and request never appears in DEBUG logs (asserted by test).
  • mvn -B verify and RAT green in CI.
主要语言
C
星标
1.4k
派生
248
平均合并
4 天 10 小时
30 天内合并 PR
40

贡献指南

打开贡献指南

从这里开始

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

apache/cloudberry 的其他 Issue

查看 apache/cloudberry 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

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