Skip to content

Commit 1444b2b

Browse files
zapdos26thomasqueirozbpront
authored
chore(deps): Bump rdkafka from 0.38.0 to 0.39.0 (#24602)
* Update rdkafka to 0.39.0 * Update 3rd party license CSV * Update licenses * Add libsasl2 MacOS intructions * Fix spellcheck * Fix markdown * Improve docs --------- Co-authored-by: Thomas <thomas.schneider@datadoghq.com> Co-authored-by: Pavlos Rontidis <pavlos.rontidis@gmail.com>
1 parent dc9d8de commit 1444b2b

4 files changed

Lines changed: 22 additions & 5 deletions

File tree

.github/actions/spelling/allow.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,10 @@ zstandard
562562
ZTE
563563
Zync
564564
sighup
565+
CPPFLAGS
566+
LDFLAGS
567+
libsasl
568+
pkgconfig
565569
CLAUDE
566570
linting
567571
lexers

Cargo.lock

Lines changed: 4 additions & 4 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
@@ -419,7 +419,7 @@ pulsar = { version = "6.7.0", default-features = false, features = ["tokio-runti
419419
quick-junit = { version = "0.5.1" }
420420
rand.workspace = true
421421
rand_distr.workspace = true
422-
rdkafka = { version = "0.38.0", default-features = false, features = ["curl-static", "tokio", "libz", "ssl", "zstd"], optional = true }
422+
rdkafka = { version = "0.39.0", default-features = false, features = ["curl-static", "tokio", "libz", "ssl", "zstd"], optional = true }
423423
redis = { version = "0.32.4", default-features = false, features = ["connection-manager", "sentinel", "tokio-comp", "tokio-native-tls-comp"], optional = true }
424424
regex.workspace = true
425425
roaring = { version = "0.11.2", default-features = false, features = ["std"], optional = true }

docs/DEVELOPING.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,19 @@ To build Vector on your own host will require a fairly complete development envi
123123
Loosely, you'll need the following:
124124

125125
- **To build Vector:** Have working Rustup, Protobuf tools, C++/C build tools (LLVM, GCC, or MSVC), Python, and Perl, `make` (the GNU one preferably), `bash`, `cmake`, `GNU coreutils`, and `autotools`.
126+
- You may also need to install `libsasl2` if you are compiling with default features or with any `kafka`-related features.
127+
- Installing libsasl2 on Ubuntu
128+
- Run `sudo apt-get install -y libsasl2-dev`
129+
- Installing libsasl2 on MacOS
130+
- Run `brew install cyrus-sasl`
131+
- You will need to set the following environment variables:
132+
133+
```bash
134+
export LDFLAGS="-L$(brew --prefix cyrus-sasl)/lib $LDFLAGS"
135+
export CPPFLAGS="-I$(brew --prefix cyrus-sasl)/include $CPPFLAGS"
136+
export PKG_CONFIG_PATH="$(brew --prefix cyrus-sasl)/lib/pkgconfig:$PKG_CONFIG_PATH"
137+
```
138+
126139
- **To run `make test`:** Install [`cargo-nextest`](https://nexte.st/)
127140
- **To run integration tests:** Have `docker` available, or a real live version of that service. (Use `AUTOSPAWN=false`)
128141
- **To run `make check-component-features`:** Have `remarshal` installed.

0 commit comments

Comments
 (0)