   # Transports that are available to Firehose.
   @transports: [Firehose.WebSocket, Firehose.LongPoll]
 
-  # Generate a random consumer id.
-  @nextConsumerId: ->
-    Math.floor((Math.random()*99999999999)+1)
-
   constructor: (config = {}) ->
-    # The consumerId is used by the server to remember messages between requests. In a production environment,
-    # this should probably be some combination of "user_id-rand". Why the rand? Because a user may have multiple
-    # tabs open to the application, and each tab needs a different channel on the server.
-    config.consumerId   ||= Firehose.Consumer.nextConsumerId()
     # List of transport stragies we have to use.
     config.transports   ||= Firehose.Consumer.transports
     # Empty handler for messages.

          @config.failed() # Call the original fail method passed into the Firehose.Consumer
      new transport(config)
    # Fire off the first connection attempt.
    transports[0].connect()
      throw "Could not connect"
    # URL that we'll connect to.
    config.uri          ||= undefined
    # Params that we'll tack on to the URL.
    config.params       ||= { }
    # Do stuff before we send the message into config.message. The sensible
    # default on the webs is to parse JSON.
    config.parse ||= (body) ->
