Skip to content

[Feature Request]: Modernize legacy DoFn in BatchElementsExample to use parameter injection #40557

Closed

Description

@CH-Abhinav

What would you like to happen?

In examples/java/src/main/java/org/apache/beam/examples/BatchElementsExample.java, the LogOutput DoFn still uses the legacy ProcessContext in its @ProcessElement method:

@ProcessElement
public void processElement(ProcessContext c) throws Exception { ... }

Issue Priority

Priority: 2 (default / most feature requests should be filed as P2)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam YAML
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Infrastructure
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Prism Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions