Updated with global ordering (otherwise topic messages are not delivered in the correct order).