Module: Nsq

Defined in:
lib/nsq/discovery.rb,
lib/version.rb,
lib/nsq/logger.rb,
lib/nsq/consumer.rb,
lib/nsq/producer.rb,
lib/nsq/connection.rb,
lib/nsq/exceptions.rb,
lib/nsq/client_base.rb,
lib/nsq/frames/error.rb,
lib/nsq/frames/frame.rb,
lib/nsq/frames/message.rb,
lib/nsq/frames/response.rb

Overview

Connects to nsqlookup’s to find the nsqd instances for a given topic

Defined Under Namespace

Modules: AttributeLogger, Version Classes: ClientBase, Connection, Consumer, Discovery, DiscoveryException, Error, Frame, Message, Producer, Response

Constant Summary collapse

@@logger =
Logger.new(nil)

Class Method Summary collapse

Class Method Details

.loggerObject



6
7
8
# File 'lib/nsq/logger.rb', line 6

def self.logger
  @@logger
end

.logger=(new_logger) ⇒ Object



11
12
13
# File 'lib/nsq/logger.rb', line 11

def self.logger=(new_logger)
  @@logger = new_logger
end