|
|
@@ -37,7 +37,7 @@ var PanicHandler func(interface{})
|
|
|
// to send a request larger than this will result in an PacketEncodingError. The default of 100 MiB is aligned
|
|
|
// with Kafka's default `socket.request.max.bytes`, which is the largest request the broker will attempt
|
|
|
// to process.
|
|
|
-var MaxRequestSize uint32 = 100 * 1024 * 1024
|
|
|
+var MaxRequestSize int32 = 100 * 1024 * 1024
|
|
|
|
|
|
// MaxResponseSize is the maximum size (in bytes) of any response that Sarama will attempt to parse. If
|
|
|
// a broker returns a response message larger than this value, Sarama will return a PacketDecodingError. The
|