Skip to content

Conversation

@derrickaw
Copy link
Collaborator

@derrickaw derrickaw commented Jan 15, 2026

Addresses #37318

Ported from here and here.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

@derrickaw derrickaw changed the title Add datadog io Add Datadog IO Jan 15, 2026
@derrickaw
Copy link
Collaborator Author

Run Java_GCP_IO_Direct PreCommit

@derrickaw derrickaw marked this pull request as ready for review January 15, 2026 19:55
@github-actions
Copy link
Contributor

Assigning reviewers:

R: @kennknowles for label java.
R: @damccorm for label build.

Note: If you would like to opt out of this review, comment assign to next reviewer.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

The PR bot will only process comments in the main thread (not review comments).

Copy link
Contributor

@Abacn Abacn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, left a few comments

implementation library.java.google_http_client
implementation library.java.google_code_gson
implementation library.java.auto_value_annotations
annotationProcessor library.java.auto_value
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should already be handled by BeamModulePlugin:

"com.google.auto.value:auto-value:$autovalue_version",

and not needed here

activemq_mqtt : "org.apache.activemq:activemq-mqtt:$activemq_version",
args4j : "args4j:args4j:2.33",
auto_value_annotations : "com.google.auto.value:auto-value-annotations:$autovalue_version",
auto_value : "com.google.auto.value:auto-value:$autovalue_version",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see below, this isn't needed

import static org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.base.Preconditions.checkNotNull;

import com.google.auto.value.AutoValue;
import javax.annotation.Nullable;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer to use checkframework Nullable

include(":sdks:java:io:bigquery-io-perf-tests")
include(":sdks:java:io:cdap")
include(":sdks:java:io:csv")
include(":sdks:java:io:datadog")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in addition to this, please add it to test:

tasks.register("javaioPreCommit") {

and also please setup a PreCommit and add it in https://github.com/apache/beam/blob/master/.github/workflows/README.md#precommit-jobs

we can copy paste from an existing precommit workflow like https://github.com/apache/beam/blob/master/.github/workflows/beam_PreCommit_Java_Clickhouse_IO_Direct.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants