cloudevents / cloudevents/sdk-java
How to transport List<CloudEvent> between Springboot services by openfeign?
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 446
- Forks
- 172
- PR merge metrics
- No merged PRs in 30d
Description
As the topic.
It seems that there is no example showing how to serialize List .
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!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported List serialization and deserialization scenario using Spring Boot, Jackson, and OpenFeign as described in the issue. Determine whether the SDK needs an example or documentation for transporting event data in an HTTP body, and consider the work complete when a documented JSON round trip between services is demonstrated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- api, backend
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100