You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2015/09/02 01:08:47 UTC

[jira] [Updated] (KAFKA-2412) Documentation bug: Add information for key.serializer and value.serializer to New Producer Config sections

     [ https://issues.apache.org/jira/browse/KAFKA-2412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jun Rao updated KAFKA-2412:
---------------------------
    Fix Version/s: 0.8.3

Those docs are auto generated. Perhaps we should fix ConfigDef.toHtmlTable() to add a "required" column.

> Documentation bug: Add information for key.serializer and value.serializer to New Producer Config sections
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-2412
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2412
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Jeremy Fields
>            Assignee: Grayson Chao
>            Priority: Minor
>              Labels: newbie
>             Fix For: 0.8.3
>
>         Attachments: KAFKA-2412-r1.diff, KAFKA-2412.diff
>
>
> As key.serializer and value.serializer are required options when using the new producer, they should be mentioned in the documentation ( here and svn http://kafka.apache.org/documentation.html#newproducerconfigs )
> Appropriate values for these options exist in javadoc and producer.java examples; however, not everyone is reading those, as is the case for anyone setting up a producer.config file for mirrormaker.
> A sensible default should be suggested, such as
> org.apache.kafka.common.serialization.StringSerializer
> Or at least a mention of the key.serializer and value.serializer options along with a link to javadoc
> Thanks



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)