Posts

Showing posts with the label apache-kafka-streams

Spring kafka: failed to send Message to channel payload must not be null

Spring kafka: failed to send Message to channel payload must not be null I have two project microservices with spring boot 1.5.9.RELEASE, the first microservice sends a user to a topic and the second microservice consumes this message, when i send the user it shows the error below in the second microservice Stack trace: org.springframework.messaging.MessageDeliveryException: failed to send Message to channel 'verification-token-in'; nested exception is java.lang.IllegalArgumentException: payload must not be null at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:451) ~[spring-integration-core-4.3.12.RELEASE.jar:4.3.12.RELEASE] at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:375) ~[spring-integration-core-4.3.12.RELEASE.jar:4.3.12.RELEASE] at org.springframework.messaging.core.GenericMessagingTemplate.doSend(GenericMessagingTemplate.java:115) ~[spring-messaging-4.3.13.R...