example/http_config.rb in rflow-1.0.0a1 vs example/http_config.rb in rflow-1.0.0a2
- old
+ new
@@ -9,13 +9,12 @@
config.component 'filter', 'RFlow::Components::RubyProcFilter', 'filter_proc_string' => 'message.data.path == "/awesome"'
config.component 'replicate', 'RFlow::Components::Replicate'
config.component 'file_output', 'RFlow::Components::FileOutput', 'output_file_path' => '/tmp/http_crap'
config.component 'http_responder', 'HTTPResponder', 'response_code' => 200, 'content' => 'Hi, this teh awesome'
-# config.connect 'http_server#request_port' => 'filter#in'
-# config.connect 'filter#filtered' => 'replicate#in'
+ #config.connect 'http_server#request_port' => 'filter#in'
+ #config.connect 'filter#filtered' => 'replicate#in'
config.connect 'http_server#request_port' => 'replicate#in'
config.connect 'replicate#out[1]' => 'file_output#in'
config.connect 'replicate#out[2]' => 'http_responder#request'
config.connect 'http_responder#response' => 'http_server#response_port'
end
-