Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ManagedConsumer: queue size 1 behaves incorrectly #12

Open
awilliams opened this issue Sep 20, 2018 · 0 comments
Open

ManagedConsumer: queue size 1 behaves incorrectly #12

awilliams opened this issue Sep 20, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@awilliams
Copy link
Collaborator

Expected behavior

When using a managed consumer with QueueSize == 1, eg

c := pulsar.ManagedConsumerConfig{
	QueueSize:           1,
}

Then it's expected that c.ReceiveAsync receive messages.

Actual behavior

The managed consumer incorrectly sets the highwater to 0, which incorrectly performs flow control.

System configuration

v0.0.1

@awilliams awilliams added the bug Something isn't working label Sep 20, 2018
@awilliams awilliams self-assigned this Sep 20, 2018
@awilliams awilliams changed the title ManagedConsumer: queue size 2 behaves incorrectly ManagedConsumer: queue size 1 behaves incorrectly Sep 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant