# 5000 Stars 成就达成🤩 Otel-arrow 协议支持，Flow Batching 模式上线｜Greptime 双周精选

Source: https://greptime.cn/blogs/2025-04-30-biweekly-report-greptimedb

## 内容概述
作为一个成长中的开源项目，GreptimeDB 的进展离不开来自全球的社区贡献者们，感谢各位！

最近的更新内容如下：

- **为 GreptimeDB 实现 Otel-arrow 协议**
- **Flow 新增 Batching 模式**
- **新增解析 JSON 字符串的 Pipeline processor**

<figure>
<img src="/zh/blogs/2025-04-30-biweekly-report-greptimedb/stars.png" alt="（图 1：GreptimeDB 获得 5000 Stars）" style="width: 80%; margin: 0 auto"/>
<figcaption>（图 1：GreptimeDB 获得 5000 Stars）</figcaption>
</figure>

## 社区贡献者名单

在过去的两周里，GreptimeDB 共合并了 **133 个 PR**，其中有 **2 位独立贡献者**，累计 **3 个 PR** 被成功合并，还有很多待合并的 PR 。

祝贺以下各位在过去 2 周内成为我们最突出的贡献者：
 
> 注：按照 GitHub 用户名首字母顺序排列
> - @*[linyihai](https://github.com/linyihai)* **[docs#1640](https://github.com/GreptimeTeam/website/pull/1640 ) [db#5819](https://github.com/GreptimeTeam/greptimedb/pull/5829)** 
> - @*[yihong0618](https://github.com/yihong0618)* **[db#5917](https://github.com/GreptimeTeam/greptimedb/pull/5917)**

🎉 衷心感谢我们所有的成员，贡献者和布道师们！是你们的付出让我们的项目得以成功，也是你们让 GreptimeDB 成为一个更优质的产品。让我们一起努力，建立一个更棒的社区！

## PR 亮点

### [db#5819 新增查询 Pipeline 的 HTTP API](https://github.com/GreptimeTeam/greptimedb/pull/5819)

支持通过 `/v1/events/pipelines/{pipeline_name}` 接口按名称查询 Pipeline。

> 详见文档：
https://docs.greptime.cn/user-guide/logs/manage-pipelines

### [db#5836 实现 Arrow Flight 的 DoPut 方法](https://github.com/GreptimeTeam/greptimedb/pull/5836)

支持 Arrow Flight 的 DoPut 方法，可通过 gRPC 高效地写入大量 Arrow 格式的数据。

### [db#5840 为 GreptimeDB 实现 Otel-arrow 协议](https://github.com/GreptimeTeam/greptimedb/pull/5840)

Otel-arrow 是一个使用 Apache Arrow 来传输 OpenTelemetry 数据的协议。通过该协议，GreptimeDB 可以方便地导入大量的 OpenTelemetry 的数据。

### [db#5903 Flow 内新增 Batching 模式](https://github.com/GreptimeTeam/greptimedb/pull/5903)

在 Batching 模式里，Flow 可以定期批量处理数据；资源使用更加平稳，适合大批量数据处理，比如定期对数据进行聚合、统计和生成报表的场景。

### [db#5910 新增解析 JSON 字符串的 Pipeline processor](https://github.com/GreptimeTeam/greptimedb/pull/5910)

新增 Pipeline processor：`json_parse`，用于将字符串类型的 JSON 字段转为结构化数据。

> 详见[文档](https://docs.greptime.cn/reference/pipeline/pipeline-config#json_parse)

例如，给定以下日志数据：

```json
{
  "product_object": "{\"hello\":\"world\"}",
}
```

使用如下配置：

```yaml
processors:
  - json_parse:
      fields:
        - product_object
```

结果为：

```json
{
  "product_object": {
    "hello": "world"
  }
}
```

### [db#5922 更新内存 Profile 使用文档](https://github.com/GreptimeTeam/greptimedb/pull/5922)

该 PR 对 GreptimeDB 的内存 profiling 指南进行了更新，补充了更详细的说明内容，并新增了一些实用的脚本，帮助开发者更高效地进行内存分析

> 更多请参考[这里](https://github.com/GreptimeTeam/greptimedb/blob/89661c06268f9e4942a8a5a5498fd4d84a370c2d/docs/how-to/memory-profile-scripts/scripts/README.md)

## Good First Issue

### [Issue#5899 支持 `kill` 语句](https://github.com/GreptimeTeam/greptimedb/pull/5899)

`kill` 语句对于停止不需要的、长时间运行的查询非常有帮助。

- 难度：中等
- 关键字：SQL

---
## 关于 Greptime

Greptime 格睿科技专注于打造新一代可观测性数据库，服务开发者与企业用户，覆盖从从边缘设备到云端企业级部署的多样化需求。

- [GreptimeDB 开源版](https://greptime.cn/product/db)：开源、云原生，统一处理指标、日志和追踪数据，适合中小规模 IoT，个人项目与可观测性场景；
- [GreptimeDB 企业版](https://greptime.cn/product/enterprise)：面向关键业务，提供更高性能、高安全性、高可用性和智能化运维服务；
- [GreptimeCloud 云服务](https://greptime.cn/product/cloud)：全托管云服务，零运维体验“企业级”可观测性数据库，弹性扩展，按需付费。

欢迎加入开源社区参与贡献与交流！推荐从带有 `good first issue` 标签的任务入手，一起共建可观测未来。

⭐ [Star us on GitHub](https://github.com/GreptimeTeam/greptimedb) | 📚 [官网](https://greptime.cn/) | 📖 [文档](https://docs.greptime.cn/)

🌍 [Twitter](https://twitter.com/Greptime) | 💬 [Slack](https://greptime.com/slack) | 💼 [LinkedIn](https://www.linkedin.com/company/greptime/)
