question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

io.cloudevents.rw.CloudEventRWException: Invalid specversion: 0.2

See original GitHub issue

I 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:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
slinkydevelopercommented, Dec 11, 2020

I think you can check out the differences here: https://github.com/cloudevents/spec/releases

Can we close this issue?

0reactions
boblee0717commented, Dec 11, 2020

@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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found