Class: Eventsourcer::Configuration
- Inherits:
-
Object
- Object
- Eventsourcer::Configuration
- Defined in:
- lib/eventsourcer.rb
Instance Attribute Summary collapse
-
#broker ⇒ Object
Returns the value of attribute broker.
-
#kafka_max_queue_size ⇒ Object
Returns the value of attribute kafka_max_queue_size.
-
#kafka_seed_brokers ⇒ Object
Returns the value of attribute kafka_seed_brokers.
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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
#broker ⇒ Object
Returns the value of attribute broker.
18 19 20 |
# File 'lib/eventsourcer.rb', line 18 def broker @broker end |
#kafka_max_queue_size ⇒ Object
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_brokers ⇒ Object
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 |
#logger ⇒ Object
Returns the value of attribute logger.
18 19 20 |
# File 'lib/eventsourcer.rb', line 18 def logger @logger end |