-
Notifications
You must be signed in to change notification settings - Fork 647
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
GooglePubSub: emulator does not handle authentication #523
Comments
Could not get pull subscription working on emulated pubsub even with #605 session tries to get token and that seems to break things When added small if-check into getToken inside Session.scala (just to debug)
|
@lukasz-golebiewski Do you have any input on this? |
issues seems to be that Session object passed to GooglePubSubSource actually return failed future since there is an error : I guess emulator returns non json response in this case,logs from from emulator are: so failed future fails the whole stage :
there is several places where isEmulated check could be put.. Session.scala:
|
Seems like a small fix and it's been open for 2 years, I asssume you'd accept a PR? |
You're more than welcome! |
This will be fixed by #2613. |
Fixed in #2613 |
When using the emulator in docker-compose:
and setting the
PUBSUB_EMULATOR_HOST
tolocalhost:8042
(#299)
then I have the following error:
And I can see this log in the emulator:
The solution would be:
when we are running against the simulator, the authentication should be by-passed.
The text was updated successfully, but these errors were encountered: