Coverage for docs / docs_src / confluent / security / custom_config.py: 0%
2 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-05-08 01:48 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-05-08 01:48 +0000
1from faststream.confluent import KafkaBroker
2from faststream.security import SASLPlaintext
4security = SASLPlaintext(
5 username="admin",
6 password="password",
7)
9config = {"ssl.ca.location": "~/my_certs/CRT_cacerts.pem"}
11broker = KafkaBroker("localhost:9092", security=security, config=config)