io.cloudevents.rw.CloudEventRWException: Invalid specversion: 0.2
See original GitHub issueI got this exception: io.cloudevents.rw.CloudEventRWException: Invalid specversion: 0.2
Is there a way to workaround this?
2020-12-11 18:05:08.521 CST - io.cloudevents.rw.CloudEventRWException: Invalid specversion: 0.22020-12-11 18:05:08.522 CST - 2020-12-11 18:05:08.522 CST - at io.cloudevents.rw.CloudEventRWException.newInvalidSpecVersion(CloudEventRWException.java:91) at io.cloudevents.SpecVersion.parse(SpecVersion.java:76)2020-12-11 18:05:08.522 CST - 2020-12-11 18:05:08.522 CST - at io.cloudevents.core.message.impl.MessageUtils.parseStructuredOrBinaryMessage(MessageUtils.java:58) 2020-12-11 18:05:08.522 CST - at io.cloudevents.http.HttpMessageFactory.createReader(HttpMessageFactory.java:78)
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
CloudEventRWException (CloudEvents - API 2.1.1 API)
This class is the exception Protocol Binding and Event Format implementers can use to signal errors while serializing/deserializing CloudEvent.
Read more >CloudEvents API - Java SDK for CloudEvents
This module contains the interfaces to represent CloudEvent in memory and to ... The package io.cloudevents.rw contains the interfaces to read and write ......
Read more >CloudEvents.io
CloudEvents is a specification for describing event data in a common way. CloudEvents seeks to dramatically simplify event declaration and delivery across ...
Read more >io.cloudevents.CloudEvent Java Examples - ProgramCreek.com
This page shows Java code examples of io.cloudevents.CloudEvent. ... @Override public void writeTo(CloudEvent event, Class<?> type, Type genericType ...
Read more >Batch Consumer not working with Kafka for CloudEvents ...
cloudevents.rw.CloudEventRWException: Could not parse. Unknown encoding. Invalid content type or spec version. I will check for blog and sample ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think you can check out the differences here: https://github.com/cloudevents/spec/releases
Can we close this issue?
@slinkydeveloper Thanks for your reply, I am considering to upgrade the spec version from 0.2 to 1.0. One more question, what’s the benefits for upgrading from 0.2 to 1.0? Do we have any blogs or something to introduce this?