Simplify DefaultCoder
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 204
Description
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).
Imported from Jira [BEAM-2754](https://issues.apache.org/jira/browse/BEAM-2754). Original Jira may contain additional context.
Reported by: jkff.
Contributor guide
Research direction
Start by reading the existing DefaultCoder and CoderProvider APIs and the issue's examples for FooCoder and TypeDescriptor. Check the imported BEAM-2754 context for additional requirements. The work is done when DefaultCoder supports the described static of() usage modes without the current boilerplate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- data-engineering
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100