我试图通过flume来获取1TB左右的数据。为此,我尝试使用多路复用通道选择器。Fluiz使用多路复用通道选择器
有一些示例显示如何使用多路复用通道选择器。
我的问题是如何确定事件的标题内容?
例如,在以下结构中,我使用的与标头,如国家和映射复用信道选择器,以CN,ID,IN等制成
spoolDirAgent.sources.source1.selector.type = multiplexing
spoolDirAgent.sources.source1.selector.header = State
spoolDirAgent.sources.source1.selector.mapping.CN = channel1
spoolDirAgent.sources.source1.selector.mapping.IN = channel2
spoolDirAgent.sources.source1.selector.mapping.ID = channel2
spoolDirAgent.sources.source1.selector.defalut = channel1
此外,如果可能的话,请让我知道如何在水槽中使用事件头?
在此先感谢!
另外,请让我知道我们如何检查事件标题是否包含作为状态的标题值? – Avinash