From user-return-25266-archive-asf-public=cust-asf.ponee.io@flink.apache.org Thu Jan 10 17:38:46 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 31F6618062A for ; Thu, 10 Jan 2019 17:38:46 +0100 (CET) Received: (qmail 76850 invoked by uid 500); 10 Jan 2019 16:38:45 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@flink.apache.org Received: (qmail 76840 invoked by uid 99); 10 Jan 2019 16:38:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2019 16:38:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id A124AC1A41 for ; Thu, 10 Jan 2019 16:38:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.284 X-Spam-Level: ** X-Spam-Status: No, score=2.284 tagged_above=-999 required=6.31 tests=[SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972, URI_HEX=1.313] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id IRIsXmqbcJVN for ; Thu, 10 Jan 2019 16:38:43 +0000 (UTC) Received: from n4.nabble.com (n4.nabble.com [199.38.86.66]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 1FEC061132 for ; Thu, 10 Jan 2019 16:32:50 +0000 (UTC) Received: from n4.nabble.com (localhost [127.0.0.1]) by n4.nabble.com (Postfix) with ESMTP id E9D99467DFC4 for ; Thu, 10 Jan 2019 10:32:49 -0600 (CST) Date: Thu, 10 Jan 2019 10:32:49 -0600 (CST) From: "Tzu-Li (Gordon) Tai" To: user@flink.apache.org Message-ID: <1547137969955-0.post@n4.nabble.com> In-Reply-To: References: Subject: Re: Custom Serializer for Avro GenericRecord MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, Have you looked at [1]? You can annotate your type and provide a type info factory. The factory would be used to create the TypeInformation for that type, and in turn create the serializer used for that type. [1] https://ci.apache.org/projects/flink/flink-docs-release-1.7/dev/types_serialization.html#defining-type-information-using-a-factory -- Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/