mirror of https://github.com/apache/kafka.git
				
				
				
			This is a fix to #5226 to account for config properties that have an equal char in the value. Otherwise if there is one equal char in the value the following error occurs: dictionary update sequence element #XX has length 3; 2 is required Reviewers: Colin Patrick McCabe <colin@cmccabe.xyz>, Ismael Juma <ismael@juma.me.uk>
This commit is contained in:
		
							parent
							
								
									c0c51808af
								
							
						
					
					
						commit
						ce1d3cd644
					
				|  | @ -221,7 +221,7 @@ class KafkaService(KafkaPathResolverMixin, JmxMixin, Service): | ||||||
|         config_template = self.render('kafka.properties', node=node, broker_id=self.idx(node), |         config_template = self.render('kafka.properties', node=node, broker_id=self.idx(node), | ||||||
|                                  security_config=self.security_config, num_nodes=self.num_nodes) |                                  security_config=self.security_config, num_nodes=self.num_nodes) | ||||||
| 
 | 
 | ||||||
|         configs = dict( l.rstrip().split('=') for l in config_template.split('\n') |         configs = dict( l.rstrip().split('=', 1) for l in config_template.split('\n') | ||||||
|                         if not l.startswith("#") and "=" in l ) |                         if not l.startswith("#") and "=" in l ) | ||||||
| 
 | 
 | ||||||
|         #load specific test override configs |         #load specific test override configs | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue