The problem with this code is that when the array of values is sorted, the count of duplicates will no longer be accurate.
这部分代码的问题是,如果数组中的值已经排序,那么重复值计数就不再准确。
If you call the above code repeatedly, this count may reach the backout threshold configured on the destination, at which point the messages will be re-queued and no longer available for receipt.
如果重复调用上述代码,此计数可能会达到目的地上配置的搁置阈值,此时这些消息就将重新进行排队,暂时不再能进行接收。
应用推荐