You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Naresh (Jira)" <ji...@apache.org> on 2021/05/05 12:16:00 UTC
[jira] [Created] (KAFKA-12750)
kafka.common.serialization.Serializer.serialize() method is ignoring
Headers argument
Naresh created KAFKA-12750:
------------------------------
Summary: kafka.common.serialization.Serializer.serialize() method is ignoring Headers argument
Key: KAFKA-12750
URL: https://issues.apache.org/jira/browse/KAFKA-12750
Project: Kafka
Issue Type: Bug
Components: clients
Affects Versions: 2.7.0
Reporter: Naresh
I am going through kafka's builtin serializers and have found that there is a variant of serialize method which accepts Headers and in the interface it doesn't use those. Is this intended ?
[https://github.com/apache/kafka/blob/2.7/clients/src/main/java/org/apache/kafka/common/serialization/Serializer.java#L61]
I do see that other datatype based implementations also dont use this method type. Is this method not supported by the kafka protocol ?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)