-
While numaflow does not guarantee ordering (yet), how can I restrict pipeline/image configurations to ensure that an ordered source keeps ordered? Let's take a build-in kafka source as an example where the topic is time ordered. I've tried to limit pod replicas: And disable threading in source UDF: But, it still seems that my events occasionally become unordered. Can I expect the input to be ordered?What did I miss? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Could you set read-batch-size to 1? Please share the pipeline spec? |
Beta Was this translation helpful? Give feedback.
When the read batch size is greater than 1, we invoke udf concurrently, which may lead to out-of-order responses. Setting the read batch size to 1 and the max pod count to 1 should be good enough to maintain the order.