package de.juplo.kafka;
import org.apache.kafka.clients.producer.KafkaProducer;
+import org.apache.kafka.clients.producer.Producer;
import org.apache.kafka.common.serialization.StringSerializer;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
@Bean
public ExampleProducer exampleProducer(
ApplicationProperties properties,
- KafkaProducer<String, String> kafkaProducer)
+ Producer<String, String> kafkaProducer)
{
return
new ExampleProducer(