Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Producer & Fetcher should provide serializes with topic name #836

Closed
@simingy

Description

@simingy

Serializers should be topic aware.

From java reference documentation:

byte[] serialize(java.lang.String topic,
                        T data)
T deserialize(java.lang.String topic,
                    byte[] data)

The implementation in Python is missing this information.
KafkaPoducer._serialize is called with topic name, but the topic is not propagated to the serializer.
KafkaConsumer calls Fetcher, whos _deserialize api is missing topic information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions