From dev-return-107425-archive-asf-public=cust-asf.ponee.io@kafka.apache.org Thu Sep 12 09:23:09 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 28357180651 for ; Thu, 12 Sep 2019 11:23:09 +0200 (CEST) Received: (qmail 90908 invoked by uid 500); 12 Sep 2019 09:23:08 -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 90896 invoked by uid 99); 12 Sep 2019 09:23:07 -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; Thu, 12 Sep 2019 09:23:07 +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 06B34180779 for ; Thu, 12 Sep 2019 09:23:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.803 X-Spam-Level: * X-Spam-Status: No, score=1.803 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=fivetran.com Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Ld_zHWGsQenb for ; Thu, 12 Sep 2019 09:23:03 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.44; helo=mail-ot1-f44.google.com; envelope-from=akshay@fivetran.com; receiver= Received: from mail-ot1-f44.google.com (mail-ot1-f44.google.com [209.85.210.44]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id D274FBC50A for ; Thu, 12 Sep 2019 09:23:02 +0000 (UTC) Received: by mail-ot1-f44.google.com with SMTP id b2so25376256otq.10 for ; Thu, 12 Sep 2019 02:23:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=AZyb74eQ52J34DDL8XfPI93o938nmV2PLE+a/wOsELs=; b=EIIvIImSQeSwBkz+uXToeiLe2LSIPs5O/zpIFRvdwXSOcR8Fc3hOcDgD98ODuW2FOE 4fAJF0B8a6JNDO92nnMH1ZXt6nD8W3Lyp5UeQeS6jn8wnjTu4Qn4zX04suGIUgTDahRl ZUA3n1HEgietVCT6QlWrad+N9arblhmrP6lqXfkT8VUgcYhy10vbrov2SWA3G+ddrrL3 +B8RtJ5JqE7G7Nulv38aBnKyZH32DOoF0X1Os6assOgOSCFYPv8QKoedH8TOZB18r9Qz IdbbFGa1JFiu9B46wDmMWtaQoSRRFixFJwP+lvagmsppuKBwGS8bsXQxYdDlQefXDn6x pIFw== X-Gm-Message-State: APjAAAWSwwUvbCF4VuVg+0Z+lFpnZVZIiSx2sg51kakfcXVeOgg7NQdy 4xIZ2yPdUJ72XUlmt0zJBTB9WA+G1krQbEje6BtMYKS7cJ8= X-Google-Smtp-Source: APXvYqwB08r3XXsE3ip5Byygn/QBvfIei6HToyZmU0nfNRBo2fMp/hAcAFNVoB67QDYQAaVrxnKTAmlqZxZKUZoN04k= X-Received: by 2002:a05:6830:100e:: with SMTP id a14mr7500356otp.238.1568280175821; Thu, 12 Sep 2019 02:22:55 -0700 (PDT) MIME-Version: 1.0 From: Akshay Das Date: Thu, 12 Sep 2019 14:52:45 +0530 Message-ID: Subject: Kafka SSH Tunnel Connection without editing hostfile To: dev@kafka.apache.org Cc: Subash Roul Content-Type: multipart/alternative; boundary="000000000000c9da5e059257ae90" --000000000000c9da5e059257ae90 Content-Type: text/plain; charset="UTF-8" Hi Team, I'm trying to consume from a kafka cluster using java client, but the kafka server can only be accessed via jumphost/ssh tunnel. But even after creating ssh tunnel we are not able to read because once conusmer fetches metadata it uses original hosts to connect to broker. Is it possible to stop this behaviour? Thanks, Akshay Das --000000000000c9da5e059257ae90--