X Tutup
Skip to content

test ackDeadline#3394

Closed
dmitry-s wants to merge 1 commit intogoogleapis:masterfrom
dmitry-s:test-ackdeadline
Closed

test ackDeadline#3394
dmitry-s wants to merge 1 commit intogoogleapis:masterfrom
dmitry-s:test-ackdeadline

Conversation

@dmitry-s
Copy link
Copy Markdown

This test reproduces an issue with ackDeadline. It publishes 2 messages, then it pools them and nacks one of them. The other one is not being nacked or acked. Then it tries to pull both messages again, in a loop.

The ackDeadline is set to 10 seconds, so I would expect to get both messages after that time. But the message that wasn't nacked or acked never makes it back.

What is interesting, if I enable debugging and put a break point inside the loop, I am able to get both messages.

I verified that ackDeadline works as expected in gcloud cli tool.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

X Tutup