[
https://issues.apache.org/jira/browse/BEAM-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17546615#comment-17546615
]
Kenneth Knowles commented on BEAM-2754:
---------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/18462
> 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
> Priority: P3
> Labels: Clarified
>
> 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
(v8.20.7#820007)