QuestionQ17

VerifiedData Ingestion & Acquisition

A data engineer is ingesting JSON files from cloud object storage by using Databricks Auto Loader. The source folder may occasionally receive large data files, risking an overwhelmed stream. To ensure predictable micro-batch sizes, the team wants to throttle ingestion at 1 GB based on the volume of data scanned, irrespective of the number of files.

Which Auto Loader configuration should the data engineer use to accomplish this?

Explanation

cloudFiles.maxBytesPerTrigger controls the amount of new data Auto Loader processes in each trigger, making it the byte-based setting for approximately 1-GB micro-batches. It is a soft maximum because Auto Loader processes an entire input file even when that file itself exceeds the configured size. Databricks Auto Loader production configuration

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!