码迷,mamicode.com
首页 > 其他好文 > 详细

test

时间:2018-11-12 20:24:44      阅读:145      评论:0      收藏:0      [点我收藏+]

标签:code   cas   ogg   one   this   channel   capacity   specific   .so   

agent.sources = seqGenSrc
agent.channels = memoryChannel
agent.sinks = loggerSink

# For each one of the sources, the type is defined
agent.sources.seqGenSrc.type = seq

# The channel can be defined as follows.
agent.sources.seqGenSrc.channels = memoryChannel

# Each sink‘s type must be defined
agent.sinks.loggerSink.type = logger

#Specify the channel the sink should use
agent.sinks.loggerSink.channel = memoryChannel

# Each channel‘s type is defined.
agent.channels.memoryChannel.type = memory

# Other config values specific to each type of channel(sink or source)
# can be defined as well
# In this case, it specifies the capacity of the memory channel
agent.channels.memoryChannel.capacity = 100

test

标签:code   cas   ogg   one   this   channel   capacity   specific   .so   

原文地址:https://www.cnblogs.com/fanren224/p/9948734.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!