<?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 Sending a very large string to a Rest input connector in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/sending-a-very-large-string-to-a-rest-input/m-p/174454#M735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've an json which contains an image encoded into a string (base64). The json is about 2 MB. I want to send it to a Rest input connector. When i send it, i've the following error message in the geoevent logs :&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Error sending message to Kafka destination (665fa052-c04c-480d-80d8-df4ee6e3cb50) The message is 2277368 bytes when serialized which is larger than the maximum request size you have configured with the max.request.size configuration. org.apache.kafka.common.errors.RecordTooLargeException: The message is 2277368 bytes when serialized which is larger than the maximum request size you have configured with the max.request.size configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't find anywhere the &lt;STRONG&gt;max.request.size&lt;/STRONG&gt; property, but i've found the &lt;STRONG&gt;socket.request.max.bytes&lt;/STRONG&gt; inside the kafka.properties file (\ArcGIS\Server\GeoEvent\gateway\etc). I've increased the size, but after one minute, i've the following error message :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Error sending message to Kafka destination (665fa052-c04c-480d-80d8-df4ee6e3cb50) Failed to update metadata after 60000 ms. org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;I tried to increase the zookeeper.connection.timeout.ms, but this doesn't change anything.&lt;/P&gt;&lt;P&gt;I tried many things, but in the end i didn't manage to send the Json. Does anybody know if it possible to do this ? Thanks for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jan 2020 10:30:01 GMT</pubDate>
    <dc:creator>GeorgesDupont</dc:creator>
    <dc:date>2020-01-14T10:30:01Z</dc:date>
    <item>
      <title>Sending a very large string to a Rest input connector</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/sending-a-very-large-string-to-a-rest-input/m-p/174454#M735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've an json which contains an image encoded into a string (base64). The json is about 2 MB. I want to send it to a Rest input connector. When i send it, i've the following error message in the geoevent logs :&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Error sending message to Kafka destination (665fa052-c04c-480d-80d8-df4ee6e3cb50) The message is 2277368 bytes when serialized which is larger than the maximum request size you have configured with the max.request.size configuration. org.apache.kafka.common.errors.RecordTooLargeException: The message is 2277368 bytes when serialized which is larger than the maximum request size you have configured with the max.request.size configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't find anywhere the &lt;STRONG&gt;max.request.size&lt;/STRONG&gt; property, but i've found the &lt;STRONG&gt;socket.request.max.bytes&lt;/STRONG&gt; inside the kafka.properties file (\ArcGIS\Server\GeoEvent\gateway\etc). I've increased the size, but after one minute, i've the following error message :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Error sending message to Kafka destination (665fa052-c04c-480d-80d8-df4ee6e3cb50) Failed to update metadata after 60000 ms. org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;I tried to increase the zookeeper.connection.timeout.ms, but this doesn't change anything.&lt;/P&gt;&lt;P&gt;I tried many things, but in the end i didn't manage to send the Json. Does anybody know if it possible to do this ? Thanks for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2020 10:30:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/sending-a-very-large-string-to-a-rest-input/m-p/174454#M735</guid>
      <dc:creator>GeorgesDupont</dc:creator>
      <dc:date>2020-01-14T10:30:01Z</dc:date>
    </item>
  </channel>
</rss>

