diff --git a/ingestion/src/metadata/examples/workflows/kafka.yaml b/ingestion/src/metadata/examples/workflows/kafka.yaml index 45a3c7c3920..d943ea18399 100644 --- a/ingestion/src/metadata/examples/workflows/kafka.yaml +++ b/ingestion/src/metadata/examples/workflows/kafka.yaml @@ -6,8 +6,14 @@ source: type: Kafka bootstrapServers: localhost:9092 schemaRegistryURL: http://localhost:8081 - consumerConfig: {} - schemaRegistryConfig: {} + consumerConfig: + # example of consume config, for more info about accepted values visit: + # https://github.com/confluentinc/librdkafka/blob/master/CONFIGURATION.md + "ssl.truststore.password": "password" + schemaRegistryConfig: + # example of scema registry config, for more info about accepted values visit: + # https://docs.confluent.io/5.5.1/clients/confluent-kafka-python/index.html#confluent_kafka.schema_registry.SchemaRegistryClient + "basic.auth.user.info": "username:password" sourceConfig: config: type: MessagingMetadata diff --git a/openmetadata-docs/content/connectors/messaging/kafka/troubleshooting.md b/openmetadata-docs/content/connectors/messaging/kafka/troubleshooting.md index 55d14d108a8..299e9d0f0ad 100644 --- a/openmetadata-docs/content/connectors/messaging/kafka/troubleshooting.md +++ b/openmetadata-docs/content/connectors/messaging/kafka/troubleshooting.md @@ -18,4 +18,19 @@ The image below shows what the configuration of a local Kafka server with a secu src="/images/openmetadata/connectors/kafka/kafka-config.png" alt="Configuration of a local Kafka server with a secured schema registry" caption="Configuration of a local Kafka server with a secured schema registry" -/> \ No newline at end of file +/> + +In case you are performing the ingestion through the CLI with a YAML file, the service connection config should look +like this: + +```yaml + serviceConnection: + config: + type: Kafka + bootstrapServers: localhost:9092 + schemaRegistryURL: http://localhost:8081 + consumerConfig: + "ssl.truststore.password": "password" + schemaRegistryConfig: + "basic.auth.user.info": "username:password" +``` \ No newline at end of file