Replies: 1 comment
-
The data going to kafka is simply binary, so if you're using logic of You can find what the server uses as HTTP media types at https://docs.confluent.io/platform/current/schema-registry/installation/config.html You can see in the spec, using vnd prefix is allowed - https://www.iana.org/assignments/media-types/media-types.xhtml#application, but this repo has no specifications for actually adhering to CloudEvents spec |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We are currently adopting the CloudEvent specification (https://cloudevents.io/) for our records written to kafka.
When trying to correctly write the
datacontenttype
for a record value, we wondered which media type we should use.Our CloudEvent data is encoded using the KafkaJsonSchemaSerializer. The Serializer uses the confluent wire-format https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#wire-format. Because of the prepended magic byte and schema ID, the
datacontenttype
cannot beapplication/json
. Is there a defined media type for the confluent wire-format?Beta Was this translation helpful? Give feedback.
All reactions