Module: WisperKafka::Settings
- Defined in:
- lib/wisper_kafka/settings.rb
Constant Summary collapse
- DEFAULT_TOPIC =
'wisper_events'
Class Method Summary collapse
Class Method Details
.topic ⇒ Object
9 10 11 |
# File 'lib/wisper_kafka/settings.rb', line 9 def topic @topic || DEFAULT_TOPIC end |
.topic=(topic) ⇒ Object
13 14 15 |
# File 'lib/wisper_kafka/settings.rb', line 13 def topic=(topic) @topic = topic end |