Return-Path: X-Original-To: apmail-kafka-dev-archive@www.apache.org Delivered-To: apmail-kafka-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 26C1110A49 for ; Wed, 3 Dec 2014 22:45:13 +0000 (UTC) Received: (qmail 55028 invoked by uid 500); 3 Dec 2014 22:45:13 -0000 Delivered-To: apmail-kafka-dev-archive@kafka.apache.org Received: (qmail 54983 invoked by uid 500); 3 Dec 2014 22:45:13 -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 54972 invoked by uid 99); 3 Dec 2014 22:45:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2014 22:45:12 +0000 Date: Wed, 3 Dec 2014 22:45:12 +0000 (UTC) From: "Gwen Shapira (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KAFKA-1772) Add an Admin message type for request response MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KAFKA-1772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14233619#comment-14233619 ] Gwen Shapira commented on KAFKA-1772: ------------------------------------- I think it makes sense, at least for "list" commands, to have one request and one response that contains all the information above. Actually, it may even make sense to just add the controller and consumers to TopicMetadata request, which already contains topics and brokers. > Add an Admin message type for request response > ---------------------------------------------- > > Key: KAFKA-1772 > URL: https://issues.apache.org/jira/browse/KAFKA-1772 > Project: Kafka > Issue Type: Sub-task > Reporter: Joe Stein > Assignee: Andrii Biletskyi > Fix For: 0.8.3 > > Attachments: KAFKA-1772.patch, KAFKA-1772_2014-12-02_16:23:26.patch > > > - utility int8 > - command int8 > - format int8 > - args variable length bytes > utility > 0 - Broker > 1 - Topic > 2 - Replication > 3 - Controller > 4 - Consumer > 5 - Producer > Command > 0 - Create > 1 - Alter > 3 - Delete > 4 - List > 5 - Audit > format > 0 - JSON > args e.g. (which would equate to the data structure values == 2,1,0) > "meta-store": { > {"zookeeper":"localhost:12913/kafka"} > }"args": { > "partitions": > [ > {"topic": "topic1", "partition": "0"}, > {"topic": "topic1", "partition": "1"}, > {"topic": "topic1", "partition": "2"}, > > {"topic": "topic2", "partition": "0"}, > {"topic": "topic2", "partition": "1"}, > ] > } -- This message was sent by Atlassian JIRA (v6.3.4#6332)