mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-24 10:19:03 +00:00
Polish
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ public class SampleKafkaApplication {
|
||||
|
||||
@Bean
|
||||
public ApplicationRunner runner(Producer producer) {
|
||||
return args -> producer.send(new SampleMessage(1, "A simple test message"));
|
||||
return (args) -> producer.send(new SampleMessage(1, "A simple test message"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user