Skip to content

Ordered consumer performance #245

Answered by hypeJunction
hypeJunction asked this question in Q&A
Discussion options

You must be logged in to vote

Looks like I have found the answer by looking at the source code and experimenting with the configuration. It seems that the consumer wrapper for legacy implementation does not set max_messages, while the customer API does. In our case, we expect around 150k messages, so with limits it would take a lot longer to load all messages sequentially. By increasing the limit to a much higher value, we are able to get most messages at once. Since connection speed is not an issue for an app hosted on a local network, this does the trick.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@aricart
Comment options

Answer selected by aricart
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