Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix various issues in SplunkIO #28825

Merged
merged 5 commits into from
Oct 20, 2023
Merged

Conversation

pranavbhandari24
Copy link
Contributor

@pranavbhandari24 pranavbhandari24 commented Oct 4, 2023

This PR makes the following improvements/bug fixes,

  • Add support for Splunk 'fields' metadata
  • Add checks to make sure url is valid.
  • Fix WRITE_LATENCY_MS metric to report milliseconds instead of nanoseconds.
  • Fix gzip compression in HttpEventPublisher.
  • Fix coder issues for SplunkEvent.

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.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 4, 2023

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

R: @kennknowles for label java.
R: @bvolpato for label io.

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).

@pranavbhandari24
Copy link
Contributor Author

R: @bvolpato
Moving over changes from Templates version of SplunkIO

@github-actions
Copy link
Contributor

github-actions bot commented Oct 4, 2023

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control

@pranavbhandari24 pranavbhandari24 changed the title Add support for Splunk fields metadata Fix various issues in SplunkIO Oct 10, 2023
@pranavbhandari24 pranavbhandari24 force-pushed the forked-io branch 2 times, most recently from 1ff6f2b to 818fc13 Compare October 11, 2023 20:09
@Abacn Abacn self-requested a review October 11, 2023 22:09
@bvolpato
Copy link
Contributor

Run Java PreCommit

@bvolpato
Copy link
Contributor

Run Java_Examples_Dataflow_Java11 PreCommit

Copy link
Contributor

@bvolpato bvolpato left a comment

Choose a reason for hiding this comment

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

LGTM, thanks Pranav!

@Abacn
Copy link
Contributor

Abacn commented Oct 19, 2023

there are spotless and chexkstyle violations, see https://github.com/apache/beam/actions/runs/6535063663/job/17743650936?pr=28825

@Abacn Abacn merged commit 1284d76 into apache:master Oct 20, 2023
30 checks passed
kkdoon pushed a commit to twitter-forks/beam that referenced this pull request Oct 21, 2023
* Fix GZIP compression in HttpEventPublisher.

* Add checks to make sure the provided URL is valid.

* Fix issue with DefaultCoder in AutoValue generated classes.

* Add support for Splunk `fields` metadata.

Also fix Coder issues for SplunkEvent.

* Address comments.
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.

3 participants