WIP consumer/spring-consumer--log-compaction--transactional
authorKai Moritz <kai@juplo.de>
Sat, 2 Nov 2024 22:31:56 +0000 (23:31 +0100)
committerKai Moritz <kai@juplo.de>
Sat, 9 Nov 2024 15:49:53 +0000 (16:49 +0100)
src/main/java/de/juplo/kafka/ApplicationConfiguration.java

index 7883cf7..c05781e 100644 (file)
@@ -66,7 +66,7 @@ public class ApplicationConfiguration
   }
 
   @Bean(destroyMethod = "")
-  KafkaProducer<String, String> kafkaProducer(ApplicationProperties properties)
+  public KafkaProducer<String, String> kafkaProducer(ApplicationProperties properties)
   {
     Properties props = new Properties();
     props.put("bootstrap.servers", properties.getBootstrapServer());
@@ -86,7 +86,7 @@ public class ApplicationConfiguration
   }
 
   @Bean
-  Clock clock()
+  public Clock clock()
   {
     return Clock.systemDefaultZone();
   }