KafkaBatcher.TempStorage (kafka_batcher v1.0.1)
Implements wrap-functions that are called to save batches when Kafka is unavailable.
Summary
Functions
Link to this function
check_storage(state)
@spec check_storage(%KafkaBatcher.Collector.State{ collect_by_partition: term(), collector: term(), config: term(), last_check_timestamp: term(), locked?: term(), ready?: term(), timer_ref: term(), topic_name: term() }) :: %KafkaBatcher.Collector.State{ collect_by_partition: term(), collector: term(), config: term(), last_check_timestamp: term(), locked?: term(), ready?: term(), timer_ref: term(), topic_name: term() }
Link to this function
save_batch(batch)
@spec save_batch(KafkaBatcher.TempStorage.Batch.t()) :: :ok