Thanks Jeremy. Where can I set/change this property? in GetKafka? On Thu, Oct 13, 2016 at 5:33 PM, Jeremy Farbota <[email protected]> wrote:
> Igor, > > Kafka consumer properties can be found here: http://kafka.apache.org/ > documentation.html#consumerconfigs > > GetKafka uses the old consumer so the consumer property is: > fetch.message.max.bytes > > The default for that property is ~1M. > > If possible, you should limit the replica.fetch.max.bytes on the broker > configs to avoid this error (reset it to the default of 1048576). > > AFAIK, you'll have to create a custom version of GetKafka that enables > adjustments to fetch.message.max.bytes. > > > > On Thu, Oct 13, 2016 at 1:22 PM, Igor Kravzov <[email protected]> > wrote: > >> Hi, >> >> I am getting the following exception in nifi-0.6.1: >> >> kafka.common.MessageSizeTooLargeException: Found a message larger than >> the maximum fetch size of this consumer. Increase the fetch size, or >> decrease the maximum message size the broker will allow. >> >> What is the max size? How can I increase max size? >> >> Thanks in advance. >> > > > > -- > > [image: Payoff, Inc.] <http://www.payoff.com/> > > Jeremy Farbota > Software Engineer, Data > [email protected] <[email protected]> • (217) 898-8110 <(949)+430-0630> > > I'm a Storyteller. Discover your Financial Personality! > <https://www.payoff.com/quiz> > > [image: Facebook] <https://www.facebook.com/payoff> [image: Twitter] > <https://www.twitter.com/payoff> [image: Linkedin] > <https://www.linkedin.com/company/payoff-com> >
