Using key correlation in a Kafka step works OK if both Send and Receive are ticked in the step.
But if the message is sent to the Kafka topic by another application (not this DevTest step), then trying to read the message with a specific key in the correlation section fails with:
Unexpected error: null
java.lang.NullPointerException
at com.itko.lisa.messaging.providers.kafka.correlation.KafkaPayloadCorrelationScheme.getPayloadForScheme(KafkaPayloadCorrelationScheme.java:86)
at com.itko.lisa.messaging.correlation.AbstractPayloadCorrelationScheme.getRequestCorrelationId(AbstractPayloadCorrelationScheme.java:428)
at com.itko.lisa.messaging.correlation.AbstractPayloadCorrelationScheme.postConfigureReceiveOperation(AbstractPayloadCorrelationScheme.java:377)
at com.itko.lisa.messaging.builder.AbstractSendReceiveOperation.doExecute(AbstractSendReceiveOperation.java:180)
Release : 10.6
Component : CA Service Virtualization
Please open a support case and request the patch for defect DE511408