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 streaming BigQuery Loader modules #7

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Add streaming BigQuery Loader modules #7

wants to merge 3 commits into from

Conversation

pondzix
Copy link
Collaborator

@pondzix pondzix commented Apr 4, 2024

No description provided.

main.tf Outdated
@@ -69,26 +65,13 @@ resource "google_project_iam_member" "sa_logging_log_writer" {
member = "serviceAccount:${google_service_account.sa.email}"
}

//TODO do we need this? Or instead should we pass service account key as variable?
Copy link
Member

Choose a reason for hiding this comment

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

Yes but if you want to have an optional override for testing scenarios go for it!

}
}
%{ endif ~}
Copy link
Member

Choose a reason for hiding this comment

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

Please add the telemetry configs here!

%{ endif ~}
--mount type=bind,source=$${CONFIG_DIR},target=/snowplow/config \
--env JDK_JAVA_OPTIONS='${java_opts}' \
--env ACCEPT_LIMITED_USE_LICENSE=${accept_limited_use_license} \
Copy link
Member

Choose a reason for hiding this comment

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

For telemetry to work you will need to add INSTANCE_ID as an env_var - see the other google OSS modules for examples.

--mount type=bind,source=$${CONFIG_DIR},target=/snowplow/config \
--env JDK_JAVA_OPTIONS='${java_opts}' \
--env ACCEPT_LIMITED_USE_LICENSE=${accept_limited_use_license} \
snowplow/bigquery-loader-pubsub:${version} \
Copy link
Member

Choose a reason for hiding this comment

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

Indent me.

variables.tf Outdated
@@ -17,7 +17,7 @@ variable "name" {
variable "app_version" {
description = "App version to use. This variable facilitates dev flow, the modules may not work with anything other than the default value."
type = string
default = "1.7.0"
default = "2.0.0-rc4"
Copy link
Member

Choose a reason for hiding this comment

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

needs to be switched to a non-RC version before release

type = string
default = ""
}

Copy link
Member

Choose a reason for hiding this comment

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

Extra whitespace?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants