mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 18:48:35 +00:00 
			
		
		
		
	Fix issue ingesting Kafka when the basic auth is enabled in the Schema Registry (#7203)
This commit is contained in:
		
							parent
							
								
									bba908e33f
								
							
						
					
					
						commit
						8f1ef49cdb
					
				| @ -362,13 +362,10 @@ def _(connection, verbose: bool = False) -> KafkaClient: | ||||
|             consumer_config["group.id"] = "openmetadata-consumer" | ||||
|         if "auto.offset.reset" not in consumer_config: | ||||
|             consumer_config["auto.offset.reset"] = "earliest" | ||||
| 
 | ||||
|         for key in connection.schemaRegistryConfig: | ||||
|             consumer_config["schema.registry." + key] = connection.schemaRegistryConfig[ | ||||
|                 key | ||||
|             ] | ||||
|         logger.debug(f"Using Kafka consumer config: {consumer_config}") | ||||
|         consumer_client = AvroConsumer(consumer_config) | ||||
|         consumer_client = AvroConsumer( | ||||
|             consumer_config, schema_registry=schema_registry_client | ||||
|         ) | ||||
| 
 | ||||
|     return KafkaClient( | ||||
|         admin_client=admin_client, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Nahuel
						Nahuel