Return-Path: X-Original-To: apmail-kafka-users-archive@www.apache.org Delivered-To: apmail-kafka-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 147D810CB9 for ; Mon, 6 Jan 2014 19:12:20 +0000 (UTC) Received: (qmail 78138 invoked by uid 500); 6 Jan 2014 19:12:19 -0000 Delivered-To: apmail-kafka-users-archive@kafka.apache.org Received: (qmail 77981 invoked by uid 500); 6 Jan 2014 19:12:19 -0000 Mailing-List: contact users-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@kafka.apache.org Delivered-To: mailing list users@kafka.apache.org Received: (qmail 77968 invoked by uid 99); 6 Jan 2014 19:12:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jan 2014 19:12:18 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.219.41] (HELO mail-oa0-f41.google.com) (209.85.219.41) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jan 2014 19:12:14 +0000 Received: by mail-oa0-f41.google.com with SMTP id j17so19658834oag.0 for ; Mon, 06 Jan 2014 11:11:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=oUETCvpMus2gyZOLx+d7GHZU/Sw8ocfspLET2NMC+g8=; b=cUEAJUNvRpRC3n0Mj2fMED+ezj0hMKDqg4nv2gPrnvVf9YCb4SAmrLZ03Z3ypjP71R TkOYLyUt4TR96pwC5EIRxny1x7H+OMufOO4BmLF0K5tO4aCrxChvf9LjCEQ5mxCiIiJS ANtqKkcbnsJStNqKg2jmbI59hyWYgcCZ5GLe0gu8xaBxWlmm9KnsdzDoHTjX6nXnE7po iSpQL0j5WxqLmdl7h5Glp6va5pA4P854FBKU04GJUZRDIfsCtFhm3MJcIXjzDtm1gWr5 w/iJlVMaWNpezL0XFPgOUV8iiYtcgkfZBZlDOFt2MsK3KxpkAipGtJ4RepT9iJif/y9Q pSiw== X-Gm-Message-State: ALoCoQnmXJeFSqNglTVUrE+2JUfA+zeyOlwXUEzr8GzAGsUcsMo1c/Av/+tmZA+qHevHnI3xJFRT MIME-Version: 1.0 X-Received: by 10.60.55.166 with SMTP id t6mr66261909oep.35.1389035512577; Mon, 06 Jan 2014 11:11:52 -0800 (PST) Received: by 10.182.213.72 with HTTP; Mon, 6 Jan 2014 11:11:52 -0800 (PST) In-Reply-To: References: Date: Mon, 6 Jan 2014 14:11:52 -0500 Message-ID: Subject: Re: single node to multiple broker cluster help From: Joe Stein To: "users@kafka.apache.org" Content-Type: multipart/alternative; boundary=089e011767454ed3c804ef520881 X-Virus-Checked: Checked by ClamAV on apache.org --089e011767454ed3c804ef520881 Content-Type: text/plain; charset=ISO-8859-1 in server.properties you also need to change the kafka port if you are running everything on one machine # The port the socket server listens on port=9092 There is a great writeup on running multi broker on single machine http://www.michael-noll.com/blog/2013/03/13/running-a-multi-broker-apache-kafka-cluster-on-a-single-node/ if you want to virtualize 3 brokers with zookeeper you can take a look at doing it with Vagrant if you like http://allthingshadoop.com/2013/12/07/using-vagrant-to-get-up-and-running-with-apache-kafka/(shameless self promotion... but in all seriousness it is really helpful way to develop and test) /******************************************* Joe Stein Founder, Principal Consultant Big Data Open Source Security LLC http://www.stealth.ly Twitter: @allthingshadoop ********************************************/ On Mon, Jan 6, 2014 at 1:32 PM, wrote: > Hi, > > I'm working through some examples and I'm having issues with activating > more than one server. I'm running on an AWS instance on an Amazon Linux > AMI. The single node to single broker worked like a charm, yet every time > I configure my second server it throws an error and shutdown's my first > Kafka server. It's trying to run both servers on the same port. How can I > fix this? > > # env JMX_PORT=10000 bin/kafka-server-start.sh config/server-2.properties > > > Joseph Simmons > Accenture LLC > TGP-CMT Analyst > San Francisco, CA > > B: 415.537.4703 > C: 951.941.1125 > > > ________________________________ > > This message is for the designated recipient only and may contain > privileged, proprietary, or otherwise confidential information. If you have > received it in error, please notify the sender immediately and delete the > original. Any other use of the e-mail by you is prohibited. Where allowed > by local law, electronic communications with Accenture and its affiliates, > including e-mail and instant messaging (including content), may be scanned > by our systems for the purposes of information security and assessment of > internal compliance with Accenture policy. . > > ______________________________________________________________________________________ > > www.accenture.com > --089e011767454ed3c804ef520881--