Module utils

Source

Constantsยง

DEFAULT_PARTITION ๐Ÿ”’
The default partition.
DELETE_RECORDS_TIMEOUT ๐Ÿ”’
The default timeout for deleting records.

Functionsยง

delete_records ๐Ÿ”’
Deletes the records for the given topic.
find_pruneable_entry_id_for_topic ๐Ÿ”’
Finds the prunable entry id for the topic.
get_offsets_for_topic ๐Ÿ”’
Returns the earliest and latest offsets for the given topic.
get_partition_client ๐Ÿ”’
Returns a partition client for the given topic.
missing_region_ids ๐Ÿ”’
should_trigger_prune ๐Ÿ”’
Determines whether pruning should be triggered based on the current pruned entry id and the prunable entry id. Returns true if:
update_pruned_entry_id ๐Ÿ”’
Updates the pruned entry id for the given topic.