Skip to content
Discussion options

You must be logged in to vote

I believe I’ve identified the issue.
The source generates 4,190 records within a few seconds, and the UDF was using the default readBatchSize of 500. It seems that Numaflow sends these chunks of data to each available instance.

The problem is that, after a while, all chunks are distributed, but the number of pending messages in the ISB remains high because each step takes around 800 ms to process a single message. As a result, Numaflow starts upscaling, but there are no more messages left to distribute.

By setting readBatchSize = 10, all instances received messages, and both upscaling and downscaling worked correctly.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@cdangelo-kline
Comment options

@vigith
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by yhl25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants