It looks like the streaming api doesn't guarantee streaming messages in the
order that they were received.
I quickly posted 10 messages with my Campfire client (Flint) and noticed my
streaming api connection received them slightly out of order.
Logs (with ids zeroed out):
{:room_id 0, :created_at 2012/09/28 16:44:43 +0000, :body ten, :starred
false, :id 0, :user_id 0, :type TextMessage}
{:room_id 0, :created_at 2012/09/28 16:44:42 +0000, :body nine, :starred
false, :id 0, :user_id 0, :type TextMessage}
{:room_id 0, :created_at 2012/09/28 16:44:41 +0000, :body eight, :starred
false, :id 00, :type TextMessage}
You can tell they're out of order by the created_at timestamps. Is that
expected?
Trevor