You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Joel Koshy (JIRA)" <ji...@apache.org> on 2014/11/14 21:54:33 UTC

[jira] [Commented] (KAFKA-1580) Reject producer requests to internal topics

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

Joel Koshy commented on KAFKA-1580:
-----------------------------------

[~guozhang] I believe this change got lost as part of KAFKA-1583
Would you mind taking a look?

Also, I recently ran into a situation where I actually _needed_ to produce messages to the consumer offsets topic. I can send a separate email on that. So I would suggest allowing producer requests to internal topics if a special "admin" client id is specified (similar to how we allow fetches past the highwatermark with a special debugging client id).

> Reject producer requests to internal topics
> -------------------------------------------
>
>                 Key: KAFKA-1580
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1580
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>            Reporter: Joel Koshy
>            Assignee: Jonathan Natkins
>             Fix For: 0.8.2
>
>         Attachments: KAFKA-1580.patch, KAFKA-1580_2014-08-14_16:50:40.patch, KAFKA-1580_2014-08-14_16:56:50.patch, KAFKA-1580_2014-08-14_18:21:38.patch, KAFKA-1580_2014-08-15_15:05:29.patch
>
>
> Producer requests to internal topics (currently only __consumer_offset) can be disastrous.
> E.g., if we allow a message to be appended to the offsets topic this could lead to fatal exceptions when loading the offsets topic and when compacting the log.
> Producer requests to these topics should be rejected.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)