kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay Kreps (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-689) Can't append to a topic/partition that does not already exist
Date Wed, 09 Jan 2013 16:06:14 GMT

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

Jay Kreps commented on KAFKA-689:

This is pretty hacky though, no? fetching metadata should not create topics--that is like
a getter subtly changing values underneith you. I think this is more evidence for needing
to expose a proper create_topic api.
> Can't append to a topic/partition that does not already exist
> -------------------------------------------------------------
>                 Key: KAFKA-689
>                 URL: https://issues.apache.org/jira/browse/KAFKA-689
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 0.8
>            Reporter: David Arthur
>         Attachments: kafka.log, produce-payload.bin
> With a totally fresh Kafka (empty logs dir and empty ZK), if I send a ProduceRequest
for a new topic, Kafka responds with "kafka.common.UnknownTopicOrPartitionException: Topic
test partition 0 doesn't exist on 0". This is when sending a ProduceRequest over the network
(from Python, in this case).
> If I use the console producer it works fine (topic and partition get created). If I then
send the same payload from before over the network, it works.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message