From jira-return-9056-archive-asf-public=cust-asf.ponee.io@kafka.apache.org Thu Jan 25 14:25:04 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 2DE02180676 for ; Thu, 25 Jan 2018 14:25:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1DF53160C13; Thu, 25 Jan 2018 13:25:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 62019160C3D for ; Thu, 25 Jan 2018 14:25:03 +0100 (CET) Received: (qmail 39596 invoked by uid 500); 25 Jan 2018 13:25:02 -0000 Mailing-List: contact jira-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@kafka.apache.org Delivered-To: mailing list jira@kafka.apache.org Received: (qmail 39557 invoked by uid 99); 25 Jan 2018 13:25:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jan 2018 13:25:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id B02F2C1E2B for ; Thu, 25 Jan 2018 13:25:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -108.711 X-Spam-Level: X-Spam-Status: No, score=-108.711 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 7WBSRCaoVBRT for ; Thu, 25 Jan 2018 13:25:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id D721A5F398 for ; Thu, 25 Jan 2018 13:25:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 63CA9E0F37 for ; Thu, 25 Jan 2018 13:25:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1A62F240F6 for ; Thu, 25 Jan 2018 13:25:00 +0000 (UTC) Date: Thu, 25 Jan 2018 13:25:00 +0000 (UTC) From: "Tamas Cserveny (JIRA)" To: jira@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KAFKA-6483) Support ExtendedSerializer in Kafka Streams MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KAFKA-6483?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1633= 9204#comment-16339204 ]=20 Tamas Cserveny commented on KAFKA-6483: --------------------------------------- This is one spot which does not use upcast to ExtendedSerializer:=C2=A0=C2= =A0 =C2=A0 org.apache.kafka.streams.processor.internals.RecordCollectorImpl: {code:java} @Override public void send(final String topic, final K key, final V value, final Integer partition, final Long timestamp, final Serializer keySerializer, final Serializer valueSerializer) { checkForException(); final byte[] keyBytes =3D keySerializer.serialize(topic, key); final byte[] valBytes =3D valueSerializer.serialize(topic, value); final ProducerRecord serializedRecord =3D new ProducerRecord<>(topic, partition, timestamp, keyBytes, valBytes); =C2=A0{code} > Support ExtendedSerializer in Kafka Streams > ------------------------------------------- > > Key: KAFKA-6483 > URL: https://issues.apache.org/jira/browse/KAFKA-6483 > Project: Kafka > Issue Type: Improvement > Components: streams > Affects Versions: 0.11.0.0 > Reporter: Tamas Cserveny > Assignee: Dale Peakall > Priority: Major > Fix For: 0.11.0.0 > > > KIP-82 introduced the concept of message headers and introduced an Extend= edDeserializer interface that allowed a Deserializer to access those messag= e headers. > Change Kafka Streams to support the use of ExtendedSerializer to provide = compatibility with Kafka Clients that use the new header functionality. -- This message was sent by Atlassian JIRA (v7.6.3#76005)