Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KAFKA-4858: Broker should ignore long topic names #2673

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

vahidhashemian
Copy link
Contributor

Starting from the 0.10.0.0 release topics names of over 249 characters are not allowed (kafka-topics.sh would disallow the creation). However, it is possible to use an older client version against the more recent brokers and attempt to create topics with longer names.
This causes problems with the broker when trying to bring the corresponding partitions online (as described in the JIRA).
This PR makes the broker ignore those topics to avoid the reported failures.

Starting from the 0.10.0.0 release topics names of over 249 characters are not allowed (`kafka-topics.sh` would disallow the creation). However, it is possible to use an older client version against the more recent brokers and attempt to create topics with longer names.
This causes problems with the broker when trying to bring the corresponding partitions online (as described in the [JIRA](https://issues.apache.org/jira/browse/KAFKA-4858)).
This PR makes the broker ignore those topics to avoid the reported failures.
@asfbot
Copy link

asfbot commented Mar 10, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.11/2121/
Test PASSed (JDK 8 and Scala 2.11).

@asfbot
Copy link

asfbot commented Mar 10, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.10/2118/
Test PASSed (JDK 7 and Scala 2.10).

@asfbot
Copy link

asfbot commented Mar 11, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/2119/
Test FAILed (JDK 8 and Scala 2.12).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants