[package]
name = "camel-component-kafka"
description = "Kafka component for rust-camel integration framework"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
documentation = "https://docs.rs/camel-component-kafka"
readme = "README.md"
keywords = ["camel", "kafka", "integration", "messaging", "streaming"]
categories = ["network-programming", "asynchronous", "development-tools"]

[dependencies]
camel-component-api = { workspace = true }
camel-api       = { workspace = true }
camel-otel      = { workspace = true, optional = true }
rdkafka         = { version = "0.36", features = ["tokio"] }
tokio           = { workspace = true }
async-trait     = { workspace = true }
tower           = { workspace = true }
serde_json      = { workspace = true }
tracing         = { workspace = true }
tokio-util      = { workspace = true }
bytes           = { workspace = true }
futures         = { workspace = true }
serde           = { workspace = true }
toml            = { workspace = true }

[dev-dependencies]
camel-component-api = { workspace = true, features = ["test-support"] }
opentelemetry = { workspace = true }
tracing-test = { workspace = true, features = ["no-env-filter"] }

[features]
otel = ["dep:camel-otel"]
cmake-build = ["rdkafka/cmake-build"]
dynamic-linking = ["rdkafka/dynamic-linking"]

[lints]
workspace = true
