Skip to content
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

@dcj

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?

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