Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3B6C4200C2C for ; Fri, 3 Mar 2017 10:29:52 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3A051160B6D; Fri, 3 Mar 2017 09:29:52 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 808FC160B57 for ; Fri, 3 Mar 2017 10:29:51 +0100 (CET) Received: (qmail 99656 invoked by uid 500); 3 Mar 2017 09:29:50 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 99645 invoked by uid 99); 3 Mar 2017 09:29:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2017 09:29:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 2130D18E86E for ; Fri, 3 Mar 2017 09:29:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.547 X-Spam-Level: X-Spam-Status: No, score=-1.547 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id RoP7OxTljtj7 for ; Fri, 3 Mar 2017 09:29:49 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 2A9215F58E for ; Fri, 3 Mar 2017 09:29:49 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8BE2DE0054 for ; Fri, 3 Mar 2017 09:29:45 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 43DBF21D62 for ; Fri, 3 Mar 2017 09:29:45 +0000 (UTC) Date: Fri, 3 Mar 2017 09:29:45 +0000 (UTC) From: "Aneesh (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Issue Comment Deleted] (KAFKA-4823) Creating Kafka Producer on application running on Java older version MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 03 Mar 2017 09:29:52 -0000 [ https://issues.apache.org/jira/browse/KAFKA-4823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aneesh updated KAFKA-4823: -------------------------- Comment: was deleted (was: [~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 older version > -------------------------------------------------------------------- > > 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)