[jira] [Commented] (KAFKA-4823) Creating Kafka Producer on application running on Java 1.6

2017-03-01 Thread Aneesh (JIRA)

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

Aneesh commented on KAFKA-4823:
---

[~ijuma]  Kafka 0.8.2.0 worked for me.I did go through REST proxy , but 
couldn't get an idea how to implement that.Can you provide some step by step 
documentation and implemented Producer/Consumer on the same.

> 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
>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)


[jira] [Commented] (KAFKA-4823) Creating Kafka Producer on application running on Java 1.6

2017-03-01 Thread Aneesh (JIRA)

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

Aneesh commented on KAFKA-4823:
---

[~bernie huang] I use JDK1.6 to compile my app jar,still it fails

> 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)


[jira] [Commented] (KAFKA-4823) Creating Kafka Producer on application running on Java 1.6

2017-03-01 Thread Aneesh (JIRA)

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

Aneesh commented on KAFKA-4823:
---

[~bernie huang] if I use jdk 1.7 to package my jar file, this application wont 
compile it,I think I have done something like this is past.I can give it a try 
now and update.

> 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)


[jira] [Commented] (KAFKA-4823) Creating Kafka Producer on application running on Java 1.6

2017-03-01 Thread bernie huang (JIRA)

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

bernie huang commented on KAFKA-4823:
-

Do you use jdk1.7 package your application jar file,and use this jar run in 
jdk1.6?
If so,just like jdk lower version can't run higher version class,maybe you can 
package your application jar file use jdk 1.6 and test it again.

> 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)