private readonly SubscriberClient _subscriberClient;
var pullRecordsTask = _subscriberClient.PullAsync(_subscriptionName, true, maxRecordsPerPull);
Task.WaitAll(pullRecordsTask);
var response = pullRecordsTask.Result;
--
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/b7580c5b-4134-47ec-a92a-6e5a68b5c9c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tony, Might you be so kind as to submit this as an issue in the dot net client GitHub repo:https://github.com/GoogleCloudPlatform/google-cloud-dotnet/issues ? Higher chances of a well informed response there.Also; anything special about your desktop setup that would artificially inflate latency? Maybe firewalls keep the requests from leaving?
On Thu, Oct 18, 2018 at 6:29 PM tony bonn <tony...@interlinebrands.com> wrote:
When running a pub/sub application on my desktop system, I nearly always encounter DEADLINE_EXCEEDED error. Running on our server is usually successful. Both instances use the same credentials and connect to the same pub/sub instance and topic. environment is .net/c#, nuget 1.0.0-beta10 Go9ogle.Cloud.PusSub.V1.If upgrading libraries is a requirement, that could be an issue since at some version around beta19 the api signatures change.the relevant lines of code. Any ideas would be appreciated
private readonly SubscriberClient _subscriberClient;
var pullRecordsTask = _subscriberClient.PullAsync(_subscriptionName, true, maxRecordsPerPull);
Task.WaitAll(pullRecordsTask);
var response = pullRecordsTask.Result;--
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/b7580c5b-4134-47ec-a92a-6e5a68b5c9c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.