Class: Eventsourcer::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/eventsourcer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.


20
21
22
23
24
25
# File 'lib/eventsourcer.rb', line 20

def initialize
  @broker = nil
  @logger = nil
  @kafka_seed_brokers = nil
  @kafka_max_queue_size = nil
end

Instance Attribute Details

#brokerObject

Returns the value of attribute broker


18
19
20
# File 'lib/eventsourcer.rb', line 18

def broker
  @broker
end

#kafka_max_queue_sizeObject

Returns the value of attribute kafka_max_queue_size


18
19
20
# File 'lib/eventsourcer.rb', line 18

def kafka_max_queue_size
  @kafka_max_queue_size
end

#kafka_seed_brokersObject

Returns the value of attribute kafka_seed_brokers


18
19
20
# File 'lib/eventsourcer.rb', line 18

def kafka_seed_brokers
  @kafka_seed_brokers
end

#loggerObject

Returns the value of attribute logger


18
19
20
# File 'lib/eventsourcer.rb', line 18

def logger
  @logger
end