WIP
authorKai Moritz <kai@juplo.de>
Sat, 12 Jun 2021 08:57:39 +0000 (10:57 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 12 Jun 2021 08:57:39 +0000 (10:57 +0200)
transfer/src/main/java/de/juplo/kafka/payment/transfer/TransferServiceApplication.java
transfer/src/main/java/de/juplo/kafka/payment/transfer/controller/TransferController.java

index e439068..320b841 100644 (file)
@@ -36,7 +36,7 @@ public class TransferServiceApplication
   @Bean
   TransferService transferService(
       TransferRepository repository,
-      KafkaProducer<UUID, String> producer,
+      KafkaProducer<String, String> producer,
       ObjectMapper mapper,
       TransferServiceProperties properties)
   {
index d8dcc83..2067ed0 100644 (file)
@@ -18,7 +18,7 @@ import java.net.URI;
 @RestController
 @RequiredArgsConstructor
 @Slf4j
-public class TransferController
+ public class TransferController
 {
   public final static String PATH = "/transfers";