Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9190D106C2 for ; Mon, 17 Mar 2014 19:51:15 +0000 (UTC) Received: (qmail 44606 invoked by uid 500); 17 Mar 2014 19:51:14 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 44503 invoked by uid 500); 17 Mar 2014 19:51:13 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 44356 invoked by uid 99); 17 Mar 2014 19:51:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Mar 2014 19:51:12 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christian.posta@gmail.com designates 209.85.215.51 as permitted sender) Received: from [209.85.215.51] (HELO mail-la0-f51.google.com) (209.85.215.51) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Mar 2014 19:51:08 +0000 Received: by mail-la0-f51.google.com with SMTP id c6so3664016lan.24 for ; Mon, 17 Mar 2014 12:50:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=nFQqJ+IG4aWE9QXVGKf5rp+DmBKXWEAGqONmeUEyqyg=; b=xtnZnspK6ao6+dTowbwD6himN1xqTQa9uhSI7xrJGy+M1SyA3eB0cvAUzlfHFJHckC b6HqjT6eNmHPhpMbSptaOr9p6dU6M9Sa0E6UNy3OX0cv/ZG2Qresjp/Q3AKtvSN9SQ7i Gkday6a1MTE04y4LU4CE5fA+d0pSDH8Y57GTqBs4APCyTS98RFT46OE4uIz0qc1rgZ9s pwKRj4h/jy+DK3ySiVxF4psbGxEKU7NoqDZZCRuhFVYk3cxm8j5o7HkjxDKltCRLH1jf doXo9629qGUVa/GoLVRuL0to61G4dapD2jTCyPWIwG7rmX+quDA9aPtyRHd6O7/g2q1S 1lSg== MIME-Version: 1.0 X-Received: by 10.112.143.99 with SMTP id sd3mr17086494lbb.11.1395085846772; Mon, 17 Mar 2014 12:50:46 -0700 (PDT) Received: by 10.114.1.174 with HTTP; Mon, 17 Mar 2014 12:50:46 -0700 (PDT) In-Reply-To: <1394689864260-4678943.post@n4.nabble.com> References: <1394689864260-4678943.post@n4.nabble.com> Date: Mon, 17 Mar 2014 12:50:46 -0700 Message-ID: Subject: Re: Replicated KahaDB Have finished, I want share my code From: Christian Posta To: "dev@activemq.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org want to share it on github, or attach to a JIRA? On Wed, Mar 12, 2014 at 10:51 PM, sait.xuc wrote: > HI, ALL, > I have finished replicated kahaDB store, I use zookeeper to elect > master, and n slave node. > satisfied this features: (from: > http://activemq.apache.org/kahadb-master-slave.html) > Journal level replication (The translates into lower overhead to the > master to replicate records). > Support for multiple slaves. > Support to dynamically add slaves at runtime. > Uses multiple concurrent data transfer sessions to do an initial slave > synchronization. > Big slave synchronizations can be resumed so synchronization progress is > not lost if a slave is restarted. > A configurable minimum number of replicas allows you to pause processing > until the data has been guaranteed to be replicated enough times. > > This is a part of my configure (activemq.xml): > > xmlns="http://www.springframework.org/schema/beans" > class="org.apache.activemq.store.kahadb.replicated.ReplicatedKahaDBPersistenceFactory" >> > value="3" /> > value="tcp://0.0.0.0:61619" /> > value="192.168.0.116:2181,192.168.0.112:2181,192.168.0.112:2182" /> > value="/pinganmq/mqserver" /> > value="192.168.0.112:61619;192.168.0.112:63616" /> > value="test-cluster" /> > value="9" /> > name="dataDirectory" value="${activemq.data}" /> > > > I apply to share my code, I code base on activemq 5.8 > hope every activemq expert give directions, and improve my code. > so, please tell How can i commit my code for replicated kahaDB. > Thanks by wait.xuc > > > > > > > > -- > View this message in context: http://activemq.2283324.n4.nabble.com/Replicated-KahaDB-Have-finished-I-want-share-my-code-tp4678943.html > Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta