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

pull mode consume history message very slow #1134

Open
UnderTreeTech opened this issue Mar 24, 2024 · 1 comment
Open

pull mode consume history message very slow #1134

UnderTreeTech opened this issue Mar 24, 2024 · 1 comment

Comments

@UnderTreeTech
Copy link
Contributor

First I produce 1k msg to broker, then I run the examples/consumer/pull/pull.go code with minor changes (only start one goroutine to consume), just like

for i := 0; i < 1; i++ {
		go func() {
			for {
				pull()
			}
		}()
	}

There the consume rate is very slow, every pull will block about 25s. But if modify the suspend param to false at

sysFlag := buildSysFlag(false, true, true, false)
the consume rate comes fast.

@wupeaking
Copy link

I have same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants