apache / apache/beam

Duplicate ShardedKey implementations in core module

Open
#37,990 2 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

wo distinct ShardedKey classes exist in the Java SDK core module with overlapping semantics:org.apache.beam.sdk.values.ShardedKey,org.apache.beam.sdk.util.ShardedKey.The only difference is the shard ID type (int vs byte[]), while the core semantics are identical. This duplication creates confusion for users and increases the risk of errors (e.g., accidental import of the wrong class).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.