-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Kafka IO fixes #23
Kafka IO fixes #23
Conversation
@tims The GCP credentials is not required to be set explicitly when using Flink Runner? I know Dataflow Runner wouldn't need it explicitly but I wasn't sure If Flink Runner would work without setting it that way. |
No it shouldn't. Anything that makes use of GCP resources like BQ or GCS should pick up credentials from the environment automatically. For Flink in particular, we expect it's mostly likely to be used when you aren't using GCP at all. So in that case you definitely don't need to set it. |
@baskaranz @woop can you review this when you get a chance so we can merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tims Looks good from my end
Thought of checking on earlier comment to make myself clear
The use case we would be using flink-runner is, when ingesting data from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
If you want to write to BQ as a warehouse then yes you would need gcp credentials. I think my answer was confusing. What I meant was, you don't need to explicitly call getApplicationCredentials, because all the GCP Beam IOs already do that. They implicitly make of the class GcpCredentialFactory . |
fixes for #22