Let us say there are two Producers P1 and P2
.
P1 makes attempt to write log L1 at time t1 to a partition PT however it gets written at t2 due to network latency.
P2 makes attempt to write log L2 at time t3 to a partition PT however it gets written at t4 due to network latency.
Let us say t1<t3
however t2>t4
so what will be the final order of L1 and L2 in the partition PT?
是的,如果两个生产者都写入同一个分区,则无论生产者何时发送消息,消息的顺序都将是接收这些消息的顺序。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.