[ https://issues.apache.org/jira/browse/KAFKA-4823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15890468#comment-15890468 ]
Ismael Juma commented on KAFKA-4823: ------------------------------------ If you can't upgrade the Java version in the client, the options are: use a REST proxy (search for "kafka rest proxy") or use the producer from Kafka 0.8.2.0 (not recommended since a lot of bugs have been fixed since that release). > Creating Kafka Producer on application running on Java 1.6 > ---------------------------------------------------------- > > Key: KAFKA-4823 > URL: https://issues.apache.org/jira/browse/KAFKA-4823 > Project: Kafka > Issue Type: Bug > Components: KafkaConnect > Affects Versions: 0.10.1.1 > Environment: Application running on Java 1.6 > Reporter: Aneesh > > I have an application running on Java 1.6 which cannot be upgraded.This > application need to have interfaces to post (producer )messages to Kafka > server remote box.Also receive messages as consumer .The code runs fine from > my local env which is on java 1.7.But the same producer and consumer fails > when executed within the application with the error > Caused by: java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major > version; class=org/apache/kafka/clients/producer/KafkaProducer, offset=6 > Is there someway I can still do it ? -- This message was sent by Atlassian JIRA (v6.3.15#6346)