Skip to content

Commit

Permalink
Introduce a callback for rewriting broker addresses
Browse files Browse the repository at this point in the history
Use librdkafka's new DNS resolution callback to expose a rust-rdkafka
callback for rewriting broker addresses. This allows tunneling of a
Kafka connection over SSH or PrivateLink, by rewriting the broker
addresses returned during bootstrapping to addresses that will route
through the tunnel.
  • Loading branch information
benesch committed Nov 6, 2022
1 parent b71acb0 commit 24b071c
Show file tree
Hide file tree
Showing 5 changed files with 213 additions and 175 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
@@ -1,3 +1,3 @@
[submodule "rdkafka-sys/librdkafka"]
path = rdkafka-sys/librdkafka
url = https://github.com/edenhill/librdkafka
url = https://github.com/MaterializeInc/librdkafka

0 comments on commit 24b071c

Please sign in to comment.