You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are the available method to subscribe to a PubSub topic and receive data from them, as you can see, both methods expect a PubSubConfig as settings.
But then, in the PubSubConfigclass, I get a deprecation warning when creating an instance of this type telling me that I should be using a GoogleSettings to manage credentials. That sounds reasenable, but if I use that as my settings, I can't provide it to any of the subscribe methods listed above.
What then should I do? Is there any mapping/transformation available between PubSubConfig and GoogleSettings?
Thanks!
The text was updated successfully, but these errors were encountered:
Hey there!
We are using the Apache Pekko Connectors Google Cloud Pub Sub in our project to consume messages from
PubSub
and we have noticed the following weird scenario.These are the available method to subscribe to a PubSub topic and receive data from them, as you can see, both methods expect a
PubSubConfig
as settings.But then, in the
PubSubConfig
class, I get a deprecation warning when creating an instance of this type telling me that I should be using aGoogleSettings
to manage credentials. That sounds reasenable, but if I use that as my settings, I can't provide it to any of thesubscribe
methods listed above.What then should I do? Is there any mapping/transformation available between
PubSubConfig
andGoogleSettings
?Thanks!
The text was updated successfully, but these errors were encountered: