Skip to content

Kafka protocol support #196

Closed
Closed
@davidwmartines

Description

@davidwmartines

Are there any plans for Kafka protocol support in this sdk?

I would primarily be interested in using binary mode with Kafka, with Avro serialization for the data. (Although structured mode for JSON would probably need to be supported, too.)

It seems the current HTTP CloudEvent does most of what is needed, except:

  1. It needs a property to store the message Key.
  2. For binary mode, the headers need to be prefixed with ce_ (not ce-), with the exception of content-type.

I would not expect any specific serialization support, as I would rather be able to pass in any serializer of my choice such as the AvroSerializer from the confluent-kafka-python package, as a callable.

I'd be willing to help with this, but I'm not sure where to begin in this repo as it seems very http-centric at the moment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions