RecordRecoverableProcessor and DltAwareProcessor example (#254)
* example implementation with tests update tests and README Add implementation of junit * Added fixes for comments Made the test much more deterministic * Fixed compilation error from IDE vs CLI invocation * Removed unnecessary annotation Handled by spring boot, not needed for Kafka autoconfiguration.
This commit is contained in:
@@ -100,7 +100,7 @@ class BatchProduce extends Base {
|
||||
@Bean
|
||||
Function<List<String>, List<Message<String>>> consumer() {
|
||||
return list -> list.stream()
|
||||
.map(string -> string.toUpperCase())
|
||||
.map(String::toUpperCase)
|
||||
.map(uppercasedString -> MessageBuilder.withPayload(uppercasedString).build())
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user