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-2338: Warn on max.message.bytes change #322

Closed
wants to merge 3 commits into from

Conversation

benstopford
Copy link
Contributor

  • Both TopicCommand and ConfigCommand warn if message.max.bytes increases
  • Log failures on the broker if replication gets stuck due to an oversized message
  • Added blocking call to warning.

@benstopford benstopford force-pushed the CPKAFKA-61 branch 2 times, most recently from 9f22efd to 924a252 Compare October 16, 2015 17:34
@@ -121,6 +122,13 @@ class ReplicaFetcherThread(name: String,
}
}

def warnIfInvalid(messageSet: ByteBufferMessageSet): Unit = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be better to name this warnIfMessageOversized?

@benstopford
Copy link
Contributor Author

@junrao your feedback has been incorporated

@junrao
Copy link
Contributor

junrao commented Oct 21, 2015

Thanks for the patch. LGTM

@asfgit asfgit closed this in 44f6c4b Oct 21, 2015
abbccdda pushed a commit to abbccdda/kafka that referenced this pull request May 22, 2020
This patch adds a simple purgatory interface and integration with Kafka's `DelayedOperationPurgatory`. For the moment, we only support max wait time, which has been added to the `FetchQuorumRecords` request schema.
abbccdda pushed a commit to abbccdda/kafka that referenced this pull request May 31, 2020
This patch adds a simple purgatory interface and integration with Kafka's `DelayedOperationPurgatory`. For the moment, we only support max wait time, which has been added to the `FetchQuorumRecords` request schema.
hachikuji added a commit to hachikuji/kafka that referenced this pull request Aug 5, 2020
This patch adds a simple purgatory interface and integration with Kafka's `DelayedOperationPurgatory`. For the moment, we only support max wait time, which has been added to the `FetchQuorumRecords` request schema.
hachikuji added a commit to hachikuji/kafka that referenced this pull request Aug 13, 2020
This patch adds a simple purgatory interface and integration with Kafka's `DelayedOperationPurgatory`. For the moment, we only support max wait time, which has been added to the `FetchQuorumRecords` request schema.
wyuka pushed a commit to wyuka/kafka that referenced this pull request May 16, 2022
Can be squashed with Github workflow configs

LI_DESCRIPTION = Reuses the test workflow in release to avoid duplication
EXIT_CRITERIA = N/A
wyuka pushed a commit to wyuka/kafka that referenced this pull request Jun 16, 2022
Can be squashed with Github workflow configs

LI_DESCRIPTION = Reuses the test workflow in release to avoid duplication
EXIT_CRITERIA = N/A
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