Sha256: b3b523e6b072dc898a5b3f0deb0e797d2c1381be158de4d13e4fbab83d65a271
Contents?: true
Size: 428 Bytes
Versions: 1
Compression:
Stored size: 428 Bytes
Contents
require 'citrus/event_bus/serializer' module Citrus module EventBus class Configuration attr_reader :event_serializer, :host, :port, :topic def initialize @event_serializer = Serializer.new @topic = 'citrus_stream' @host = 'localhost' @port = 9092 end def connection_string "#{host}:#{port}" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
citrus-event-bus-0.0.1 | lib/citrus/event_bus/configuration.rb |