/**Regular expression used to parse groups from event data. */
public static final String REGEX_CONFIG = "regex";
/**Whether to ignore case when performing regex matches. */
public static final String IGNORE_CASE_CONFIG = "regexIgnoreCase";
/**Comma separated list of column names to place matching groups in. */
public static final String COL_NAME_CONFIG = "colNames";
1条答案
按热度按时间y1aodyip1#
RegexHbaseEventSerializer
有三个可以设置的配置参数(如源代码中所述);这些是:示例配置使用
RegexHbaseEventSerializer
如下所示(部分引用cloudera的flume和hbase演示文稿):