A logistics company is designing a high-performance data ingestion pipeline for real-time telemetry from active delivery vehicles. The peak ingestion rate is with an average payload size of per message. Telemetry data from each vehicle must be processed in the exact chronological order it was generated to calculate accurate velocity trends. The company wants to convert the telemetry from JSON to Apache Parquet format and store it in an Amazon S3 data lake within of arrival. Which architecture meets these requirements with the highest performance and the lowest operational overhead?
- Deploy Amazon Kinesis Data Streams in On-Demand capacity mode, utilizing the vehicle ID as the partition key. Configure Amazon Kinesis Data Firehose to consume from the stream, perform format conversion from JSON to Apache Parquet using AWS Glue Schema Registry, and deliver the output to the Amazon S3 data lake.Cevap
- BDeploy Amazon Kinesis Data Streams in Provisioned capacity mode configured with shards, utilizing the vehicle ID as the partition key. Configure Amazon Kinesis Data Firehose to consume from the stream, perform format conversion to Apache Parquet, and write the output to the Amazon S3 data lake.
- CDeploy an Amazon SQS standard queue to receive the telemetry data. Configure an AWS Lambda function triggered by the queue to process the messages in batches, perform format conversion to Apache Parquet, and upload the files to the Amazon S3 data lake.
- DDeploy an Amazon Managed Streaming for Apache Kafka (Amazon MSK) cluster with three active brokers. Configure an Apache Kafka Connect Amazon S3 sink connector to consume from the topic, convert the data to Apache Parquet, and write the output to the Amazon S3 data lake.
Cevap
Deploy Amazon Kinesis Data Streams in On-Demand capacity mode with the vehicle ID as the partition key, and use Amazon Kinesis Data Firehose with AWS Glue Schema Registry to convert the JSON data to Apache Parquet format before storing it in Amazon S3.
The correct architecture uses Amazon Kinesis Data Streams in On-Demand capacity mode alongside Amazon Kinesis Data Firehose. Kinesis Data Streams guarantees ordering per partition key (vehicle ID), and the On-Demand mode dynamically scales write throughput up to or without administrative intervention. Kinesis Data Firehose consumes from the stream, performs serverless format conversion to Apache Parquet using AWS Glue Schema Registry, and delivers the data to Amazon S3 within the required 5-minute buffering interval. This provides a highly performant and scalable solution with the lowest operational overhead.
Adım Adım Çözüm
Anahtar Kavram
High-performing data ingestion and format transformation using Kinesis Data Streams On-Demand and Kinesis Data Firehose with minimal operational overhead.