You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ewen Cheslack-Postava (JIRA)" <ji...@apache.org> on 2015/07/15 21:16:05 UTC

[jira] [Created] (KAFKA-2338) Warn users if they change max.message.bytes that they also need to update broker and consumer settings

Ewen Cheslack-Postava created KAFKA-2338:
--------------------------------------------

             Summary: Warn users if they change max.message.bytes that they also need to update broker and consumer settings
                 Key: KAFKA-2338
                 URL: https://issues.apache.org/jira/browse/KAFKA-2338
             Project: Kafka
          Issue Type: Bug
          Components: core
    Affects Versions: 0.8.2.1
            Reporter: Ewen Cheslack-Postava
             Fix For: 0.8.3


We already have KAFKA-1756 filed to more completely address this issue, but it is waiting for some other major changes to configs to completely protect users from this problem.

This JIRA should address the low hanging fruit to at least warn users of the potential problems. Currently the only warning is in our documentation.

1. Generate a warning in the kafka-topics.sh tool when they change this setting on a topic to be larger than the default. This needs to be very obvious in the output.
2. Currently, the broker's replica fetcher isn't logging any useful error messages when replication can't succeed because a message size is too large. Logging an error here would allow users that get into a bad state to find out why it is happening more easily. (Consumers should already be logging a useful error message.)



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