<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Kafka Request Message Too Large in Eventstream</title>
    <link>https://community.fabric.microsoft.com/t5/Eventstream/Kafka-Request-Message-Too-Large/m-p/4106650#M167</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="777286" data-lia-user-login="bw_chec" class="lia-mention lia-mention-user"&gt;bw_chec&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;max.request.size&lt;BR /&gt;The maximum value of the message that the producer client can send, the default value is 1048576B, 1MB. it is not recommended to blindly modify this parameter, this parameter involves the linkage of some other parameters, such as the message.max.bytes parameter on the broker side, if the broker's message.max.bytes parameter is set to 10, and the max. request.size is set to 20, the producer parameter will report an error when sending a message with a size of 15B.&lt;/P&gt;
&lt;P&gt;Therefore, you need to modify the above multiple parameters consecutively to take effect&lt;/P&gt;
&lt;P&gt;Modify the following:&lt;/P&gt;
&lt;P&gt;message.max.bytes 2M (modified on the broker side)&lt;/P&gt;
&lt;P&gt;max.request.size 2M (modified on the client side)&lt;BR /&gt;After restarting again, the data is extracted to kafka normally.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more details, please refer:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.baeldung.com/java-kafka-send-large-message" target="_blank"&gt;Send Large Messages With Kafka | Baeldung&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.conduktor.io/kafka/how-to-send-large-messages-in-apache-kafka/" target="_blank"&gt;How to send Large Messages in Apache Kafka? (conduktor.io)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2024 10:08:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-08-19T10:08:48Z</dc:date>
    <item>
      <title>Kafka Request Message Too Large</title>
      <link>https://community.fabric.microsoft.com/t5/Eventstream/Kafka-Request-Message-Too-Large/m-p/4106379#M166</link>
      <description>&lt;P&gt;I have a MySQL CDC stream from a flexible server in Azure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The write messages aren't coming through to Eventstream and we are getting the following message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Reason: org.apache.kafka.connect.errors.ConnectException: Unrecoverable exception from producer send callback Caused by: org.apache.kafka.common.errors.RecordTooLargeException: The message is 1407136 bytes when serialized which is larger than 1048576, which is the value of the max.request.size configuration.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to change the kafka max.request.size config?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 07:52:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Eventstream/Kafka-Request-Message-Too-Large/m-p/4106379#M166</guid>
      <dc:creator>bw_chec</dc:creator>
      <dc:date>2024-08-19T07:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka Request Message Too Large</title>
      <link>https://community.fabric.microsoft.com/t5/Eventstream/Kafka-Request-Message-Too-Large/m-p/4106650#M167</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="777286" data-lia-user-login="bw_chec" class="lia-mention lia-mention-user"&gt;bw_chec&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;max.request.size&lt;BR /&gt;The maximum value of the message that the producer client can send, the default value is 1048576B, 1MB. it is not recommended to blindly modify this parameter, this parameter involves the linkage of some other parameters, such as the message.max.bytes parameter on the broker side, if the broker's message.max.bytes parameter is set to 10, and the max. request.size is set to 20, the producer parameter will report an error when sending a message with a size of 15B.&lt;/P&gt;
&lt;P&gt;Therefore, you need to modify the above multiple parameters consecutively to take effect&lt;/P&gt;
&lt;P&gt;Modify the following:&lt;/P&gt;
&lt;P&gt;message.max.bytes 2M (modified on the broker side)&lt;/P&gt;
&lt;P&gt;max.request.size 2M (modified on the client side)&lt;BR /&gt;After restarting again, the data is extracted to kafka normally.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more details, please refer:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.baeldung.com/java-kafka-send-large-message" target="_blank"&gt;Send Large Messages With Kafka | Baeldung&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.conduktor.io/kafka/how-to-send-large-messages-in-apache-kafka/" target="_blank"&gt;How to send Large Messages in Apache Kafka? (conduktor.io)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 10:08:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Eventstream/Kafka-Request-Message-Too-Large/m-p/4106650#M167</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-19T10:08:48Z</dc:date>
    </item>
  </channel>
</rss>

