Summer Special Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 8w52ceb345

Universal Containers (UC)uses Apache Kafka on Heroku to stream shipment inventory data in real time...

Universal Containers (UC)uses Apache Kafka on Heroku to stream shipment inventory data in real time throughout the world. A Kafka topic is used to send messages with updates on the shipping container GPS coordinates as they are in transit. UC is using a Heroku Kafka basic-0 plan.The topic was provisioned with 8 partitions, 1 week of retention, and no compaction. The keys for the events are being assigned by Heroku Kafka, which means that they will be randomly distributed between the partitions.

UC has a single-dyno consumer application that persists the data to their Enterprise Data Warehouse (EDW). Recently, they've been noticing data loss in the EDW.

What should an Architect with Kafka experience recommend?

A.

Enable compaction on the topic to drop older messages, which will drop older messages with the same key.

B.

Upgrade to a larger Apache Kafka for Heroku plan, which has greater data capacity.

C.

Use Heroku Redis to store message receipt information to account for "at-least" once delivery, which will guarantee that messagesare never processed more than once. Scale up the consumer dynos to match the number of partitions so that there is one process for each partition.

Heroku-Architect PDF/Engine
  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions
buy now Heroku-Architect pdf
Get 60% Discount on All Products, Use Coupon: "8w52ceb345"