apache / apache/beam

Serialize more coders via URN + Class name

Open
#18,216 0 comments 0 reactions 0 assignees View on GitHub
bug core P4 runners
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

If the size of serializing Standard Coders becomes too large, an arbitrary Standard Coder can be encoded, alongside its components, via an URN and looking up the class when it is to be deserialized.

See https://github.com/tgroh/beam/commit/070854845346d8e4df824e4aa374688bd095c2c6 as an example

Imported from Jira [BEAM-1939](https://issues.apache.org/jira/browse/BEAM-1939). Original Jira may contain additional context.
Reported by: tgroh.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the referenced example commit and the Apache Beam coder serialization and deserialization entry points. Define how a Standard Coder is represented by a URN plus its components, then verify that deserialization can look up the corresponding class and reconstruct the coder without excessive serialized size.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.