Skip to content

Commit d7279db

Browse files
committed
update
1 parent a1ea82a commit d7279db

File tree

6 files changed

+21
-3
lines changed

6 files changed

+21
-3
lines changed

.github/workflows/verify-package.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
sudo apt-get install -y --no-install-recommends \
5050
cmake \
5151
libssl-dev \
52+
libcurl4-openssl-dev \
5253
pkg-config \
5354
libsasl2-dev \
5455
protobuf-compiler

Cargo.lock

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async-trait = "0.1"
3636
num_cpus = "1.0"
3737
protocol = { path = "./protocol" }
3838
prost = "0.13"
39-
rdkafka = { version = "0.38", features = ["cmake-build", "ssl", "gssapi"] }
39+
rdkafka = { version = "0.38", features = ["cmake-build", "ssl", "gssapi", "curl"] }
4040
crossbeam-channel = "0.5"
4141
wasmtime = { version = "41.0.3", features = ["component-model", "async"] }
4242
base64 = "0.22"

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2121
clang \
2222
libclang-dev \
2323
libssl-dev \
24+
libcurl4-openssl-dev \
2425
pkg-config \
2526
libsasl2-dev \
2627
protobuf-compiler \

README-zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function-stream/
7272
- **Rust 工具链**:Stable >= 1.77 (通过 rustup 安装)。
7373
- **Python 3.9+**:构建 Python WASM 运行时所需。
7474
- **Protoc**:Protocol Buffers 编译器(用于生成 gRPC 绑定)。
75-
- **构建工具**:cmake, pkg-config, OpenSSL headers (用于 rdkafka)
75+
- **构建工具**:cmakepkg-configOpenSSL 头文件,以及 **libcurl** 开发头文件(Debian/Ubuntu 上为 `libcurl4-openssl-dev`)——在使用带 SSL/OAuth 相关选项构建 **rdkafka** 时,捆绑的 librdkafka 需要 `curl/curl.h`
7676

7777
## 快速开始 (本地开发)
7878

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function-stream/
7373
* **Rust Toolchain**: Stable >= 1.77 (via rustup).
7474
* **Python 3.9+**: Required for building the Python WASM runtime.
7575
* **Protoc**: Protocol Buffers compiler (for generating gRPC bindings).
76-
* **Build Tools**: cmake, pkg-config, OpenSSL headers (for rdkafka).
76+
* **Build Tools**: cmake, pkg-config, OpenSSL headers, **libcurl** development headers (`libcurl4-openssl-dev` on Debian/Ubuntu) — required when building **rdkafka** with SSL/OAuth-related options (bundled librdkafka expects `curl/curl.h`).
7777

7878
## Quick Start (Local Development)
7979

0 commit comments

Comments
 (0)