[ https://issues.apache.org/jira/browse/KAFKA-1661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14265649#comment-14265649 ]
jaikiran pai edited comment on KAFKA-1661 at 1/6/15 3:45 AM: ------------------------------------------------------------- I think it's a matter of how Kafka wants to classify certain code/classes as "not to be used in production". You are right that it's ultimately up to the developers to make the right decision to not use such classes in production. I don't have a strong preference in moving them to some other place. Maybe if something needs to be done then perhaps we could just change the package names to something like org.apache.kafka.clients.producer.internal (or even org.apache.kafka.clients.producer.unsupported) and similar for the consumer package? was (Author: jaikiran): I think it's a matter of how Kafka wants to classify certain code/classes as useable by applications in production. You are right that it's ultimately up to the developers to make the right decision to not use such classes in production. I don't have a strong preference in moving them to some other place. Maybe if something needs to be done then perhaps we could just change the package names to something like org.apache.kafka.clients.producer.internal (or even org.apache.kafka.clients.producer.unsupported) and similar for the consumer package? > Move MockConsumer and MockProducer from src/main to src/test > ------------------------------------------------------------ > > Key: KAFKA-1661 > URL: https://issues.apache.org/jira/browse/KAFKA-1661 > Project: Kafka > Issue Type: Task > Components: clients, consumer, producer > Affects Versions: 0.8.1.1 > Environment: N/A > Reporter: Andras Hatvani > Priority: Trivial > Labels: newbie, test > Fix For: 0.8.3 > > > The MockConsumer and MockProducer are currently in src/main although they > belong in src/test. -- This message was sent by Atlassian JIRA (v6.3.4#6332)