spring-cloud-dataflow icon indicating copy to clipboard operation
spring-cloud-dataflow copied to clipboard

Receiving Stringify Json in DLQ instead of JSON itself

Open dkumarkartik opened this issue 2 years ago • 2 comments

Description: We are using one java application as processor app and when some exception occurs inside application for some record, it sends that record to DLQ which is expected. But DLQ receives stringfy JSON instead of JSON record. So can you please do let us know If there is anything we need to specify for getting JSON msg inside DLQ?

Additional context: If any exception happens in predefined application then it sends record to DLQ as JSON record while for custom application it convert it to stringify JSON.

dkumarkartik avatar Aug 01 '23 11:08 dkumarkartik

Additional Ifno - if we specify schema registry url for any bean and exception occured in that bean it sends data to DLQ as stringify JSON. if we are not specifying schema-registry config it sends data to DLQ as JSON.

EmperorBlack avatar Aug 17 '23 10:08 EmperorBlack

@dkumarkartik @EmperorBlack Could you share your config/code here? Also, how can we reproduce it on our end? Which schema registry are you using? Confluent or the one from Spring Cloud Stream?

sobychacko avatar Sep 08 '23 13:09 sobychacko

Closing due to inactivity. If closed in error please let us know.

cppwfs avatar Jul 22 '24 14:07 cppwfs