class SpringKafkaProjectGenerationConfiguration {

	@Bean
	SpringKafkaBuildCustomizer springKafkaBuildCustomizer() {
		return new SpringKafkaBuildCustomizer();
	}

	@Bean
	@ConditionalOnRequestedDependency("testcontainers")
	ServiceConnectionsCustomizer kafkaServiceConnectionsCustomizer(DockerServiceResolver serviceResolver) {<FILL_FUNCTION_BODY>}

}

		return (serviceConnections) -> serviceResolver.doWith("kafka",
				(service) -> serviceConnections.addServiceConnection(ServiceConnection.ofContainer("kafka", service,
						"org.testcontainers.containers.KafkaContainer", false)));
	
<no_super_class>