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

David Chen updated KAFKA-1625:
------------------------------
    Attachment: KAFKA-1625.site.0.patch

I am attaching a patch for this.

How do I create an RB for a change to the website? I tried to manually create 
the RB and entered {{/site}} for the base directory, but RB gave me the 
following error:

{code}
Line undefined: Repository moved permanently to 
'https://svn.apache.org/repos/asf/kafka/site/081/api.html'; please relocate
{code}

> Sample Java code contains Scala syntax
> --------------------------------------
>
>                 Key: KAFKA-1625
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1625
>             Project: Kafka
>          Issue Type: Bug
>          Components: website
>            Reporter: David Chen
>         Attachments: KAFKA-1625.site.0.patch
>
>
> As I was reading the Kafka documentation, I noticed that some of the 
> parameters use Scala syntax, even though the code appears to be Java. For 
> example:
> {code}
> public static kafka.javaapi.consumer.ConsumerConnector 
> createJavaConsumerConnector(config: ConsumerConfig);
> {code}
> Also, what is the reason for fully qualifying these classes? I understand 
> that there are Scala and Java classes with the same name, but I think that 
> fully qualifying them in the sample code would encourage that practice by 
> users, which is not desirable in Java code.



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

Reply via email to