question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pub/Sub: synchronous pull "Received data on closed stream"

See original GitHub issue

I’m using the solution for Issue https://github.com/GoogleCloudPlatform/google-cloud-java/issues/1661 to pull a batch of messages to process asynchronously.

I cannot use the recommended class Subscriber due to the fact that I need to process / ack messages asynchronously (producer / consumer scenario … consumer processes, then acks the messages.)

Using GrpcSubscriberStub I get random batches of the following logging INFO messages …

2017-11-30 05:43:51,545 [grpc-default-worker-ELG-2-2] INFO  i.g.internal.AbstractClientStream - Received data on closed stream
2017-11-30 05:43:51,557 [grpc-default-worker-ELG-2-2] INFO  i.g.internal.AbstractClientStream - Received data on closed stream
2017-11-30 05:43:51,573 [grpc-default-worker-ELG-2-2] INFO  i.g.internal.AbstractClientStream - Received data on closed stream
2017-11-30 05:43:51,593 [grpc-default-worker-ELG-2-2] INFO  i.g.internal.AbstractClientStream - Received data on closed stream```

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Liron24commented, Aug 6, 2019

What is the status of this? I’m experiencing the same exact issue described above

0reactions
ajaaymcommented, Mar 5, 2019

@techodepot can you please create new issue with full repro?

Read more comments on GitHub >

github_iconTop Results From Across the Web

i.grpc.internal.AbstractClientStream - Received data on closed ...
I have a Spring boot application (v2.2.10.RELEASE) that subscribes to multiple topics in pubSub and pulls ...
Read more >
Pull subscriptions | Cloud Pub/Sub Documentation
You can use the pull mode to perform asynchronous or synchronous message processing. The pull mode runs in a client library that can...
Read more >
Things I wish I knew about Google Cloud Pub/Sub: Part 2
Streaming pull establishes a long-running streaming connection to the Pub/Sub service for receiving messages. This differs from synchronous ...
Read more >
pubsub - Go Packages
Package pubsub provides an easy way to publish and receive Google Cloud Pub/Sub ... on how streaming pull behaves compared to the synchronous...
Read more >
How to use Google Pub/Sub to build an asynchronous ...
Pull delivery type — The subscriber has to pull the messages from a topic by itself. ... To publish and receive messages from...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found