Module util

Module util 

Source
Expand description

Utility functions, like configuring various global settings.

Constants§

DEFAULT_MAX_ALLOCATION_BYTES
Maximum number of bytes that can be allocated when decoding Avro-encoded values. This is a protection against ill-formed data, whose length field might be interpreted as enormous. See max_allocation_bytes to change this limit.
DEFAULT_SERDE_HUMAN_READABLE
Whether the serializer and deserializer should indicate to types that the format is human-readable.

Functions§

max_allocation_bytes
Set the maximum number of bytes that can be allocated when decoding data.
set_serde_human_readable
Set whether the serializer and deserializer should indicate to types that the format is human-readable.