sdk-java icon indicating copy to clipboard operation
sdk-java copied to clipboard

Why do sometimes headers start with "ce-" and sometimes with "ce_"?

Open bdshadow opened this issue 3 years ago • 2 comments

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?

bdshadow avatar Aug 31 '21 10:08 bdshadow

Related https://github.com/cloudevents/sdk-java/issues/359

pierDipi avatar Sep 07 '21 20:09 pierDipi

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.

zaza avatar Aug 09 '22 11:08 zaza