lib/logstash/outputs/zeromq.rb in logstash-output-zeromq-0.1.0 vs lib/logstash/outputs/zeromq.rb in logstash-output-zeromq-0.1.1
- old
+ new
@@ -52,10 +52,12 @@
#
# * ZMQ::HWM - high water mark
# * ZMQ::IDENTITY - named queues
# * ZMQ::SWAP_SIZE - space for disk overflow
#
- # Example: sockopt => ["ZMQ::HWM", 50, "ZMQ::IDENTITY", "my_named_queue"]
+ # Example:
+ # [source,ruby]
+ # sockopt => ["ZMQ::HWM", 50, "ZMQ::IDENTITY", "my_named_queue"]
config :sockopt, :validate => :hash
public
def register
require "ffi-rzmq"