[ 
https://issues.apache.org/jira/browse/KAFKA-5459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16110657#comment-16110657
 ] 

huxihx commented on KAFKA-5459:
-------------------------------

[~tombentley] How do we specify the key if the entire file content is the 
message value?

> Support kafka-console-producer.sh messages as whole file
> --------------------------------------------------------
>
>                 Key: KAFKA-5459
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5459
>             Project: Kafka
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: 0.10.2.1
>            Reporter: Tom Bentley
>            Priority: Trivial
>
> {{kafka-console-producer.sh}} treats each line read as a separate message. 
> This can be controlled using the {{--line-reader}} option and the 
> corresponding {{MessageReader}} trait. It would be useful to have built-in 
> support for sending the whole input stream/file as the message. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to