You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Eugene Kirpichov (JIRA)" <ji...@apache.org> on 2017/08/08 21:22:02 UTC

[jira] [Commented] (BEAM-2754) Simplify DefaultCoder

    [ https://issues.apache.org/jira/browse/BEAM-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16119049#comment-16119049 ] 

Eugene Kirpichov commented on BEAM-2754:
----------------------------------------

cc: [~tgroh] [~kenn]

> Simplify DefaultCoder
> ---------------------
>
>                 Key: BEAM-2754
>                 URL: https://issues.apache.org/jira/browse/BEAM-2754
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Eugene Kirpichov
>            Assignee: Eugene Kirpichov
>            Priority: Minor
>
> DefaultCoder is too hard to use - it requires having a CoderProvider class and a bunch of other boilerplate. It should have simpler usage modes, e.g. @DefaultCoder(FooCoder.class) class Foo should simply work if FooCoder only has a "static FooCoder of()" method, or "of(TypeDescriptor)" for more complex use cases (eg generics).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)