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.