incubator-kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Ormsbee (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-223) Add metadata requests to Kafka broker
Date Tue, 06 Dec 2011 19:41:40 GMT

    [ https://issues.apache.org/jira/browse/KAFKA-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163769#comment-13163769
] 

David Ormsbee commented on KAFKA-223:
-------------------------------------

To clarify, these would be programming API requests added to the wire protocol, alongside
FETCH, PRODUCE, and OFFSETS (say VERSION and TOPICS). I didn't really intend this for monitoring
purposes.
                
> Add metadata requests to Kafka broker
> -------------------------------------
>
>                 Key: KAFKA-223
>                 URL: https://issues.apache.org/jira/browse/KAFKA-223
>             Project: Kafka
>          Issue Type: Improvement
>          Components: clients, core
>            Reporter: David Ormsbee
>            Priority: Minor
>              Labels: features
>
> It would be useful to be able to query metadata from Kafka for the purposes of monitoring
and discovery:
> 1. Version: Just a quick way to get the broker version so that we know not to send it
a version of a request or response that it can't handle.
> 2. Topic information: Return the default number of partitions per topic, a list of all
topics, number of partitions per topic if there are overrides, and start/end offsets for those
topics (assuming it's cheap to do so). This would allow Consumers and Producers to discover
topics and partitions on a single broker without involving ZooKeeper, and would also make
it easier to know how many partitions can be sent to when making a new topic with a ZK-aware
Producer.
> Discussed in thread:
>  http://mail-archives.apache.org/mod_mbox/incubator-kafka-dev/201112.mbox/%3CCALStshY02xT7b2n-%3DDjTF_QifEzjxWnCvmgRhSu8v8-ibbSGyQ%40mail.gmail.com%3E

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message