mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 18:17:13 +08:00 
			
		
		
		
	 9df4e0193f
			
		
	
	9df4e0193f
	
	
	
		
			
			Co-authored-by: harsh_sharma_juspay <harsh.sharma@juspay.in> Co-authored-by: Ivor Dsouza <ivor.dsouza@juspay.in> Co-authored-by: Chethan Rao <70657455+Chethan-rao@users.noreply.github.com> Co-authored-by: nain-F49FF806 <126972030+nain-F49FF806@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: akshay.s <akshay.s@juspay.in> Co-authored-by: Gnanasundari24 <118818938+Gnanasundari24@users.noreply.github.com>
		
			
				
	
	
		
			11 lines
		
	
	
		
			551 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			551 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| # This script is required to run kafka cluster (without zookeeper)
 | |
| #!/bin/sh
 | |
| 
 | |
| # Docker workaround: Remove check for KAFKA_ZOOKEEPER_CONNECT parameter
 | |
| sed -i '/KAFKA_ZOOKEEPER_CONNECT/d' /etc/confluent/docker/configure
 | |
| 
 | |
| # Docker workaround: Ignore cub zk-ready
 | |
| sed -i 's/cub zk-ready/echo ignore zk-ready/' /etc/confluent/docker/ensure
 | |
| 
 | |
| # KRaft required step: Format the storage directory with a new cluster ID
 | |
| echo "kafka-storage format --ignore-formatted -t $(kafka-storage random-uuid) -c /etc/kafka/kafka.properties" >> /etc/confluent/docker/ensure |