K - the key type.V - the value type.R - the result value type.public class MessagingTransformer<K,V,R>
extends java.lang.Object
implements org.apache.kafka.streams.kstream.Transformer<K,V,org.apache.kafka.streams.KeyValue<K,R>>
Transformer implementation that invokes a MessagingFunction
converting to/from spring-messaging Message. Can be used, for example,
to invoke a Spring Integration flow.| Constructor and Description |
|---|
MessagingTransformer(MessagingFunction function,
MessagingMessageConverter converter) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
init(org.apache.kafka.streams.processor.ProcessorContext context) |
org.apache.kafka.streams.KeyValue<K,R> |
transform(K key,
V value) |
public MessagingTransformer(MessagingFunction function, MessagingMessageConverter converter)