[
https://issues.apache.org/jira/browse/FLUME-3391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
chris updated FLUME-3391:
-------------------------
Description:
When using Kafka sink, you need to set the property to an empty string
ssl.endpoint.identification.alogorithm =
However, when flume judges that the parameter is empty when loading
configuration, it directly removes the parameter value as an empty string, so
it cannot set the attribute as an empty string
Source code: flume ng configuration / SRC / main / Java / org / Apache / flume
/ conf / flumeconfiguration.java
182 lines of source code
if (value.isEmpty())
{ addError(name, PROPERTY_VALUE_NULL, ERROR); return false; }
was:
在使用kafka sink时候需要将属性设置为空字符串
ssl.endpoint.identification.alogorithm =
但是由于flume在加载配置时候判断参数为空时,直接将参数值为空字符串给去除了,导致无法设置该属性为空字符串
源码:flume-ng-configuration/src/main/java/org/apache/flume/conf/FlumeConfiguration.java
源代码182行
if (value.isEmpty()) {
addError(name, PROPERTY_VALUE_NULL, ERROR);
return false;
}
> flume kafka sink 无法配置ssl.endpoint.identification.algorithm =
> ------------------------------------------------------------
>
> Key: FLUME-3391
> URL: https://issues.apache.org/jira/browse/FLUME-3391
> Project: Flume
> Issue Type: Bug
> Components: Sinks+Sources
> Affects Versions: 1.9.0
> Reporter: chris
> Priority: Critical
>
> When using Kafka sink, you need to set the property to an empty string
> ssl.endpoint.identification.alogorithm =
> However, when flume judges that the parameter is empty when loading
> configuration, it directly removes the parameter value as an empty string, so
> it cannot set the attribute as an empty string
> Source code: flume ng configuration / SRC / main / Java / org / Apache /
> flume / conf / flumeconfiguration.java
> 182 lines of source code
> if (value.isEmpty())
> { addError(name, PROPERTY_VALUE_NULL, ERROR); return false; }
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]