Monday, February 25, 2019

[google-cloud-sql-discuss] Re: Sub/Pub connect to Cloud SQL

Hello Juan, 

It depends what you understand by connecting; in this context: directly connecting Cloud Pub/Sub with Cloud SQL doesn't seem to be an option. By contrast, you may benefit from using both features in conjunction with an application deployed to Flexible or Standard environment. 

There are Cloud Pub/Sub Triggers that trigger Cloud Functions, which, in their turn, provide a local socket interface to connect to Cloud SQL instances. This interface works for both MySQL and PostgreSQL instances. To connect to your Cloud SQL instance you can use the /cloudsql file system path. You may find related detail on the "Connecting to Cloud SQL" documentation page

If you provide more information on your application needs, we'll be happy to help further. 

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/9109996c-7a93-463f-9159-ae74edd0fe60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment