You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "main" io.cloudevents.rw.CloudEventRWException: Invalid extensions name: status_code
at io.cloudevents.rw.CloudEventRWException.newInvalidExtensionName(CloudEventRWException.java:122)
at io.cloudevents.core.impl.BaseCloudEventBuilder.withExtension(BaseCloudEventBuilder.java:121)
at io.cloudevents.core.v1.CloudEventBuilder.withContextAttribute(CloudEventBuilder.java:176)
at io.cloudevents.protobuf.ProtoDeserializer.read(ProtoDeserializer.java:73)
at io.cloudevents.rw.CloudEventReader.read(CloudEventReader.java:43)
at io.cloudevents.protobuf.ProtobufFormat.deserialize(ProtobufFormat.java:64)
at io.cloudevents.core.format.EventFormat.deserialize(EventFormat.java:56)
at org.apache.eventmesh.client.grpc.util.EventMeshCloudEventBuilder.switchEventMeshCloudEvent2CloudEvent(EventMeshCloudEventBuilder.java:272)
at org.apache.eventmesh.client.grpc.util.EventMeshCloudEventBuilder.main(EventMeshCloudEventBuilder.java:294)
Search before asking
Environment
Windows
EventMesh version
master
What happened
CloudEvents variable names do not support underscores。
How to reproduce
Debug logs
Exception in thread "main" io.cloudevents.rw.CloudEventRWException: Invalid extensions name: status_code
at io.cloudevents.rw.CloudEventRWException.newInvalidExtensionName(CloudEventRWException.java:122)
at io.cloudevents.core.impl.BaseCloudEventBuilder.withExtension(BaseCloudEventBuilder.java:121)
at io.cloudevents.core.v1.CloudEventBuilder.withContextAttribute(CloudEventBuilder.java:176)
at io.cloudevents.protobuf.ProtoDeserializer.read(ProtoDeserializer.java:73)
at io.cloudevents.rw.CloudEventReader.read(CloudEventReader.java:43)
at io.cloudevents.protobuf.ProtobufFormat.deserialize(ProtobufFormat.java:64)
at io.cloudevents.core.format.EventFormat.deserialize(EventFormat.java:56)
at org.apache.eventmesh.client.grpc.util.EventMeshCloudEventBuilder.switchEventMeshCloudEvent2CloudEvent(EventMeshCloudEventBuilder.java:272)
at org.apache.eventmesh.client.grpc.util.EventMeshCloudEventBuilder.main(EventMeshCloudEventBuilder.java:294)
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: