SubscriberClient.Create does not exist from the 1.0.0-beta20
See original GitHub issueI want update my package : Google.Cloud.PubSub from 1.0.0-beta19 to 1.0.0. But after this upgrade SubscriberClient.Create doesn’t exist anymore. What I can use instead in my code ?
SubscriptionName subscriptionName = new SubscriptionName(projectId, subscriptionId);
SubscriberServiceApiClient subscriberClient = SubscriberServiceApiClient.Create(channel);
SubscriberClient subscriber = SubscriberClient.Create(subscriptionName, new[] { subscriberClient });
Do you have a link to a changelog?
Environment details
- OS: Windows 10
- .NET version: 2.1
- Package name and version: Google.Cloud.PubSub 1.0.0
Thanks to everyone
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Cloud Pub/Sub v1 API - Class SubscriberClient (3.6.0)
This class implements the IAsyncDisposable interface. However, it is recommended to create a single SubscriberClient instance, and use it ...
Read more >Error in trying to create a topic subscription in Google ...
I have successfully created a topic using the library (I can see it in the cloud console after creation). However I am having...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You can call the constructor directly:
Or don’t create a
SubscriberServiceApiClient
yourself; instead callSubscriberClient.CreateAsync.CreateAsync(subscriptionName);
Yes @jskeet thank you =) Sorry for the delay