diff --git a/Cargo.lock b/Cargo.lock index ad3e550..67d1d15 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -557,6 +557,17 @@ dependencies = [ "hashbrown 0.15.2", ] +[[package]] +name = "io-uring" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b86e202f00093dcba4275d4636b93ef9dd75d025ae560d2521b45ea28ab49013" +dependencies = [ + "bitflags 2.9.0", + "cfg-if", + "libc", +] + [[package]] name = "itertools" version = "0.14.0" @@ -580,9 +591,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.171" +version = "0.2.174" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6" +checksum = "1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776" [[package]] name = "libz-sys" @@ -978,9 +989,9 @@ dependencies = [ [[package]] name = "rdkafka" -version = "0.37.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14b52c81ac3cac39c9639b95c20452076e74b8d9a71bc6fc4d83407af2ea6fff" +checksum = "5f1856d72dbbbea0d2a5b2eaf6af7fb3847ef2746e883b11781446a51dbc85c0" dependencies = [ "futures-channel", "futures-util", @@ -996,9 +1007,9 @@ dependencies = [ [[package]] name = "rdkafka-sys" -version = "4.8.0+2.3.0" +version = "4.9.0+2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced38182dc436b3d9df0c77976f37a67134df26b050df1f0006688e46fc4c8be" +checksum = "5230dca48bc354d718269f3e4353280e188b610f7af7e2fcf54b7a79d5802872" dependencies = [ "libc", "libz-sys", @@ -1315,17 +1326,19 @@ checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c" [[package]] name = "tokio" -version = "1.44.1" +version = "1.46.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f382da615b842244d4b8738c82ed1275e6c5dd90c459a30941cd07080b06c91a" +checksum = "0cc3a2344dafbe23a245241fe8b09735b521110d30fcefbbd5feb1797ca35d17" dependencies = [ "backtrace", "bytes", + "io-uring", "libc", "mio", "parking_lot", "pin-project-lite", "signal-hook-registry", + "slab", "socket2", "tokio-macros", "windows-sys 0.52.0", diff --git a/Cargo.toml b/Cargo.toml index 7a9bb86..5146639 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,6 +22,9 @@ members = [ "e2e", ] +[workspace.dependencies] +rdkafka = "0.38.0" + [package] name = "skywalking" version = "0.9.0" @@ -51,7 +54,7 @@ parking_lot = "0.12.3" portable-atomic = { version = "1.11.0", features = ["float"] } prost = "0.13.5" prost-derive = "0.13.5" -rdkafka = { version = "0.37.0", optional = true } +rdkafka = { workspace = true, optional = true } serde = { version = "1.0.219", features = ["derive"] } systemstat = { version = "0.2.4", optional = true } thiserror = "2.0.12" diff --git a/dist-material/LICENSE b/dist-material/LICENSE index 10b2995..61d5436 100644 --- a/dist-material/LICENSE +++ b/dist-material/LICENSE @@ -306,10 +306,11 @@ The text of each license is also included in licenses/LICENSE-[project].txt. https://crates.io/crates/hyper-timeout/0.5.2 0.5.2 Apache-2.0 OR MIT https://crates.io/crates/indexmap/1.9.3 1.9.3 Apache-2.0 OR MIT https://crates.io/crates/indexmap/2.8.0 2.8.0 Apache-2.0 OR MIT + https://crates.io/crates/io-uring/0.7.8 0.7.8 Apache-2.0 OR MIT https://crates.io/crates/itertools/0.14.0 0.14.0 Apache-2.0 OR MIT https://crates.io/crates/itoa/1.0.15 1.0.15 Apache-2.0 OR MIT https://crates.io/crates/lazy_static/1.5.0 1.5.0 Apache-2.0 OR MIT - https://crates.io/crates/libc/0.2.171 0.2.171 Apache-2.0 OR MIT + https://crates.io/crates/libc/0.2.174 0.2.174 Apache-2.0 OR MIT https://crates.io/crates/libz-sys/1.1.22 1.1.22 Apache-2.0 OR MIT https://crates.io/crates/lock_api/0.4.12 0.4.12 Apache-2.0 OR MIT https://crates.io/crates/log/0.4.27 0.4.27 Apache-2.0 OR MIT @@ -417,13 +418,13 @@ The text of each license is also included in licenses/LICENSE-[project].txt. https://crates.io/crates/hyper-util/0.1.10 0.1.10 MIT https://crates.io/crates/mio/1.0.3 1.0.3 MIT https://crates.io/crates/nom/7.1.3 7.1.3 MIT - https://crates.io/crates/rdkafka/0.37.0 0.37.0 MIT - https://crates.io/crates/rdkafka-sys/4.8.0+2.3.0 4.8.0+2.3.0 MIT + https://crates.io/crates/rdkafka/0.38.0 0.38.0 MIT + https://crates.io/crates/rdkafka-sys/4.9.0+2.10.0 4.9.0+2.10.0 MIT https://crates.io/crates/redox_syscall/0.5.10 0.5.10 MIT https://crates.io/crates/slab/0.4.9 0.4.9 MIT https://crates.io/crates/strsim/0.8.0 0.8.0 MIT https://crates.io/crates/textwrap/0.11.0 0.11.0 MIT - https://crates.io/crates/tokio/1.44.1 1.44.1 MIT + https://crates.io/crates/tokio/1.46.1 1.46.1 MIT https://crates.io/crates/tokio-macros/2.5.0 2.5.0 MIT https://crates.io/crates/tokio-stream/0.1.17 0.1.17 MIT https://crates.io/crates/tokio-util/0.7.14 0.7.14 MIT diff --git a/e2e/Cargo.toml b/e2e/Cargo.toml index 8c762f2..621064f 100644 --- a/e2e/Cargo.toml +++ b/e2e/Cargo.toml @@ -33,7 +33,7 @@ http-body-util = "0.1.3" hyper = { version = "1.6", features = ["full"] } hyper-util = "0.1.10" prost = "0.13.5" -rdkafka = "0.37.0" +rdkafka = { workspace = true } skywalking = { path = "..", features = ["kafka-reporter"] } structopt = "0.3" tokio = { version = "1", features = ["full"] }