Code Monkey home page Code Monkey logo

Comments (6)

edenhill avatar edenhill commented on September 13, 2024

Make sure to configure message.bytes.max equally on both brokers and producers, that means providing .. -X "message.max.bytes=NNNNNNNN" .. command line argument to rdkafka_performance.

In code you would use rd_kafka_conf_set(rk_conf, "message.bytes.max", "NNNNNNNN", ...)

from librdkafka.

winbatch avatar winbatch commented on September 13, 2024

Ok, but why would all subsequent runs of the binary fail thereafter?

On Friday, January 3, 2014, Magnus Edenhill wrote:

Make sure to configure message.bytes.max equally on both brokers and
producers, that means providing .. -X "message.max.bytes=NNNNNNNN" ..command line argument to rdkafka_performance.

In code you would use rd_kafka_conf_set(rk_conf, "message.bytes.max",
"NNNNNNNN", ...)


Reply to this email directly or view it on GitHubhttps://github.com//issues/48#issuecomment-31510241
.

from librdkafka.

edenhill avatar edenhill commented on September 13, 2024

It sounds to me that one or more of your brokers, but not all, have failed in some way.
Thats why required.acks = 1 works - only the receiving broker will ack it, but -1 doesnt - all ISRs will need to ack it.

Did you change message.bytes.max on ALL brokers in your cluster and restart them?
It would be fair to guess that mismatching max message sizes would frustrate a cluster while syncing messages.

from librdkafka.

winbatch avatar winbatch commented on September 13, 2024

I'll have my colleague check the broker config. However, since new topics
on this cluster are fine until I run the procedure mentioned, I think
all brokers
are at least up and running- seems to be on a per topic basis.

On Friday, January 3, 2014, Magnus Edenhill wrote:

It sounds to me that one or more of your brokers, but not all, have failed
in some way.
Thats why required.acks = 1 works - only the receiving broker will ack it,
but -1 doesnt - all ISRs will need to ack it.

Did you change message.bytes.max on ALL brokers in your cluster and
restart them?
It would be fair to guess that mismatching max message sizes would
frustrate a cluster while syncing messages.


Reply to this email directly or view it on GitHubhttps://github.com//issues/48#issuecomment-31524132
.

from librdkafka.

edenhill avatar edenhill commented on September 13, 2024

Any news on this?

from librdkafka.

winbatch avatar winbatch commented on September 13, 2024

At this point I'd say just close it. Either I did something wrong with the
max msg size locally or there was something else with the broker. will
reopen if I encounter it again.

On Wed, Jan 29, 2014 at 1:00 AM, Magnus Edenhill
[email protected]:

Any news on this?

Reply to this email directly or view it on GitHubhttps://github.com//issues/48#issuecomment-33558841
.

from librdkafka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.