sdk-java
sdk-java copied to clipboard
Why do sometimes headers start with "ce-" and sometimes with "ce_"?
Why is there such a difference?
- For example in the docs for kafka it is an underscore: https://github.com/cloudevents/spec/blob/v1.0.1/kafka-protocol-binding.md#325-example
- At the same time it is a dash in the Spring module in this project.
It makes it so complicated to use cloudevents-spring together with cloudevents-kafka. Why is there such inconsistency?
Related https://github.com/cloudevents/sdk-java/issues/359
I noticed the same thing when using the SDK for Python and io.cloudevents:cloudevents-kafka in Java. I agree with @bdshadow that this is unexpected.