[
https://issues.apache.org/jira/browse/KAFKA-5412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16044181#comment-16044181
]
ASF GitHub Bot commented on KAFKA-5412:
---------------------------------------
GitHub user ppatierno opened a pull request:
https://github.com/apache/kafka/pull/3279
KAFKA-5412: Using connect-console-sink/source.properties raises an
exception related to "file" property not found
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ppatierno/kafka kafka-5412
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/3279.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3279
----
commit dcbe72dc72f2fcd2fafb84772b5fe5d9e80e1f75
Author: ppatierno <[email protected]>
Date: 2017-06-09T09:13:38Z
Added default null value for "file" parameter and more descriptive
documentation on its usage
----
> Using connect-console-sink/source.properties raises an exception related to
> "file" property not found
> -----------------------------------------------------------------------------------------------------
>
> Key: KAFKA-5412
> URL: https://issues.apache.org/jira/browse/KAFKA-5412
> Project: Kafka
> Issue Type: Bug
> Components: KafkaConnect
> Affects Versions: 0.11.0.0
> Reporter: Paolo Patierno
>
> Hi,
> with the latest 0.11.1.0-SNAPSHOT it happens that the Kafka Connect example
> using connect-console-sink/source.properties doesn't work anymore because the
> needed "file" property isn't found.
> This is because the underlying used FileStreamSink/Source connector and task
> has defined a ConfigDef with "file" as mandatory parameter. In the case of
> console example we want to have file=null so that stdin and stdout are used.
> One possible solution is set "file=" inside the provided
> connect-console-sink/source.properties.
> The other one could be modify the FileStreamSink/Source source code in order
> to remove the "file" definition from the ConfigDef.
> What do you think ?
> I can provide a PR for that.
> Thanks,
> Paolo.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)