Can I use Alpakka Google Cloud PubSub connector if my app is behind proxy?

We would like to use Alpakka Google Cloud PubSub connector https://doc.akka.io/docs/alpakka/current/google-cloud-pub-sub.html in enterprise environment from behind a proxy but have not found a way how to configure it. The application is Java-based but it seems that the alpakka connector is not considering https.proxyHost and https.proxyPort system properties.

Hi @pateem

Alpakka Google Pub/Sub uses Akka HTTP underneath to talk to Google’s services. Right now there is not simple way to configure a proxy for that.

I see you already noticed this new feature request #1705 to implement it.
Please note that a similar feature was recently added to Alpakka S3 in #1639.

Please feel free to suggest a similar solution for Google Pub/Sub.

Cheers,
Enno.

1 Like