public class KafkaMessageTransformer
extends org.springframework.integration.transformer.AbstractPayloadTransformer<java.util.Map<java.lang.String,java.util.Map<java.lang.Integer,java.util.List<java.lang.Object>>>,java.util.Map<java.lang.Integer,java.lang.Object>>
Map
of partition and payload.
Since kafka source module has a single topic, the topic information can be removed.Constructor and Description |
---|
KafkaMessageTransformer() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.Integer,java.lang.Object> |
transformPayload(java.util.Map<java.lang.String,java.util.Map<java.lang.Integer,java.util.List<java.lang.Object>>> payload)
Transform message payload to Map
|
doTransform
transform
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getComponentType, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, onInit, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setMessageBuilderFactory, setTaskScheduler, toString
protected java.util.Map<java.lang.Integer,java.lang.Object> transformPayload(java.util.Map<java.lang.String,java.util.Map<java.lang.Integer,java.util.List<java.lang.Object>>> payload) throws java.lang.Exception
transformPayload
in class org.springframework.integration.transformer.AbstractPayloadTransformer<java.util.Map<java.lang.String,java.util.Map<java.lang.Integer,java.util.List<java.lang.Object>>>,java.util.Map<java.lang.Integer,java.lang.Object>>
java.lang.Exception