Skip to content
Discussion options

You must be logged in to vote

Thanks for the response! Now that I have a little bit more understanding, could you please correct me if I am wrong in my assumptions:

  1. Let's say I limit the pipeline_size to 50
  2. Once the pipeline size reaches max, pq.Insert will block until the pq is empty
  3. Because pq.Insert blocks, the consume itself would also block - hence no new messages will be prefetched.

Is this correct?

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@SMFloris
Comment options

@rustatian
Comment options

Comment options

You must be logged in to vote
3 replies
@rustatian
Comment options

@SMFloris
Comment options

@rustatian
Comment options

Answer selected by rustatian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants