what is the property to accept binary json message in spring-cloud-stream kafka binder
问题 I am using spring-cloud-stream kafka binder to consume messages from a kafka topic. The source system is sending the json message in ascii. When My consumer listens to the topic it throws o.s.c.s.b.k.KafkaMessageChannelBinder : Could not convert message: 7B22736.. Is there any property that I can set in my .yml file to deserialize it? or is there an example that I can look into? 回答1: I am not sure what you mean by json in hexadecimal-binary data if you mean it's ascii data in a byte[] , try