Skip to content
This repository was archived by the owner on Jun 3, 2023. It is now read-only.
This repository was archived by the owner on Jun 3, 2023. It is now read-only.

Question: How can I get transit serialized (as msgpack) bytes to pass to a specialized "writer"? #36

Description

@dcj

I'd like to serialize Kafka values as (msgpack) transit.

The python-kafka kafka.KafkaProducer takes:

value_serializer (callable) – used to convert user-supplied message values to bytes. If not None, called as f(value), should return bytes. Default: None.

Is there a way to get the serialized bytes from transit-python, or are serialization and writing combined/complected?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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