Produce requests out of order - unspecificied by the actual protocol - upstream with queue depth of 1 #1248
mmaslankaprv
started this conversation in
Ideas
Replies: 4 comments 8 replies
-
I've tested it with kafka serever queue depth limited to 1. This guarantee that requests are processed in order. This make the test to PASS. |
Beta Was this translation helpful? Give feedback.
0 replies
-
this doesn't make sense to me, the client doesn't move to the next batch unless acks=0, until the next batch was acknowledged for acks=0 or -1 |
Beta Was this translation helpful? Give feedback.
8 replies
-
We now process requests in order. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Test number
0044
from librdkafka test suite assumes that order of produce requests will be maintained and batches will be inserted into log in produce requests order. In redpanda we process requests asynchronously and they may be scheduled in random order by seastar scheduler. On the one hand this behavior is fine since we return offset in produce response.Here is an example output from the test failing:
During the standup @ April 22nd we talked about providing configuration option to control reordering of Kafka messages processing. Three options were proposed
Beta Was this translation helpful? Give feedback.
All reactions