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

Add gcppubsub output #13

Merged
merged 3 commits into from
Mar 2, 2021
Merged

Add gcppubsub output #13

merged 3 commits into from
Mar 2, 2021

Conversation

marc-gr
Copy link
Contributor

@marc-gr marc-gr commented Mar 1, 2021

Adds gcppubsub output.

I would like to add some integration tests, but not sure if maybe is a good idea to do in a separate PR or what would be the preferred approach for it.

Closes https://github.com/andrewkroh/stream/issues/10

Copy link
Member

@andrewkroh andrewkroh left a comment

Choose a reason for hiding this comment

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

+1 to adding a test. I'd add it in this PR if you are going to do it. The tests are running with Github Actions and docker should already be present in the environment. Maybe the Go test itself could start/stop the dependent container? Or another approach would be to start it as part of the GH action workflow.

pkg/output/gcppubsub/gcppubsub.go Outdated Show resolved Hide resolved
@marc-gr marc-gr requested a review from andrewkroh March 2, 2021 08:59
Copy link
Member

@andrewkroh andrewkroh left a comment

Choose a reason for hiding this comment

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

LGTM. I like the self-contained nature of the tests.

pkg/output/gcppubsub/gcppubsub_test.go Outdated Show resolved Hide resolved
@andrewkroh
Copy link
Member

Can you please add a changelog entry too.

@marc-gr marc-gr requested a review from andrewkroh March 2, 2021 14:11
@andrewkroh andrewkroh merged commit a0685fc into elastic:main Mar 2, 2021
@marc-gr marc-gr deleted the gcppubsub branch March 2, 2021 15:14
@andrewkroh
Copy link
Member

This has been released (docker pull akroh/stream:v0.3.0).

@andrewkroh andrewkroh added v0.3.0 enhancement New feature or request labels Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v0.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a GCP pub/sub output
2 participants