Skip to content

Commit

Permalink
Add ssl-vendored to Kafka (#2292)
Browse files Browse the repository at this point in the history
* Add ssl-vendored to Kafka

* Use forked librdkafka to support musl builds

* Don't deny openssl-sys

---------

Co-authored-by: Jack Kleeman <[email protected]>
  • Loading branch information
slinkydeveloper and jackkleeman authored Nov 19, 2024
1 parent 2968f41 commit 73fa9df
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 10 deletions.
29 changes: 25 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/ingress-kafka/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ bytes = { workspace = true }
derive_builder = { workspace = true }
metrics = { workspace = true }
opentelemetry = { workspace = true }
rdkafka = { version = "0.35", features = ["libz-static", "cmake-build"] }
rdkafka = { git = "https://github.com/restatedev/rust-rdkafka", rev = "4b5946309bdb669eb0c884cd9b7ad05578a0f6c6", features = ["libz-static", "cmake-build", "ssl-vendored"] }
schemars = { workspace = true, optional = true }
serde = { workspace = true }
thiserror = { workspace = true }
Expand Down
5 changes: 0 additions & 5 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,6 @@ skip = [
{name = "ring"}
]

deny = [
# Use rustls instead of openssl-sys since it is assumed to be more secure
{ name = "openssl-sys" }
]

[sources]
unknown-registry = "deny"
# Lint level for what to happen when a crate from a git repository that is not
Expand Down

0 comments on commit 73fa9df

Please sign in to comment.