apache / apache/beam

remove ambiguity of Setup/StartBundle javadocs in DoFn

Open
#19,699 0 comments 0 reactions 0 assignees View on GitHub
core improvement java P3
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

@Setup: "Annotation for the method to use to prepare an instance for processing bundles of elements."
@StartBundle: " Annotation for the method to use to prepare an instance for processing a batch of elements."

seems the same whereas first is initialization of the DoFn whereas second is initialization of the bundle.

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

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.