Skip to content

Commit 38e8649

Browse files
committed
Add 'ssl' and 'gssapi' features in rdkafka
1 parent 73f6d54 commit 38e8649

File tree

3 files changed

+51
-2
lines changed

3 files changed

+51
-2
lines changed

Cargo.lock

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

doc/outputs.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ For a given subscription, all events will be sent in the configured Kafka topic.
7878
> [!TIP]
7979
> If multiple outputs use the Kafka driver and connect to the same Kafka cluster, it is recommended to configure the additional options in OpenWEC settings (`outputs.kafka.options`) **and** to omit the `options` parameter in Kafka output configuration. This way, only one Kafka client will be used by all the outputs, which is more resource efficient.
8080
81+
> [!tip]
82+
> OpenWEC bundles its own Kafka client (using `rdkafka`). It is built with `zstd`, `libz`, `external-lz4`, `ssl` and `gssapi` features (see https://github.com/fede1024/rust-rdkafka/blob/master/rdkafka-sys/README.md#features).
83+
8184
#### Configuration
8285

8386
```toml
@@ -256,4 +259,4 @@ To add an output driver, you need to:
256259
- in `cli`:
257260
- add a subcommand to create an output using the driver in `cli::main` and handle it in `cli::subscriptions`.
258261
- add a config template of an output using the driver in `cli::skell`.
259-
- add documentation in `doc/outputs.md`.
262+
- add documentation in `doc/outputs.md`.

server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ mime = "0.3.17"
2323
quick-xml = "0.36.0"
2424
roxmltree = "0.20.0"
2525
tokio = { version = "1.41.0", features = ["full"] }
26-
rdkafka = { version = "0.36.0", features = ["zstd", "libz", "external-lz4"] }
26+
rdkafka = { version = "0.36.0", features = ["zstd", "libz", "external-lz4", "ssl", "gssapi"] }
2727
regex = "1.11.0"
2828
uuid = { version = "1.12.1", features = ["v4", "fast-rng"] }
2929
serde = { version = "1.0.164", features = ["derive", "rc"] }

0 commit comments

Comments
 (0)