sdk-java icon indicating copy to clipboard operation
sdk-java copied to clipboard

How to transport List<CloudEvent> between Springboot services by openfeign?

Open 9997766 opened this issue 1 year ago • 0 comments

As the topic. It seems that there is no example showing how to serialize List<CloudEvent> .

Springboot's default serialization mechanism is jackson, which serializes List ,The resulted json string cannot be deserialized again to List object.

And putting all the info in the HTTP headers is not suitable for me。 Is there any way to put the event info in the HttpBody,and can seriliaze in JSON formart, transport by OpenFeign?

thanks!

9997766 avatar Oct 07 '23 04:10 9997766