Data Ingestion and Transformation

An ingestion service holds incomplete transaction details in worker memory until matching completion events arrive. Workers must be replaceable without losing those details; which change BEST meets this requirement?

Show the answer

Correct answerC. Store pending transaction details in a shared database.

AWhy not this: Retention preserves source events for replay, not the pending transaction details held in worker memory.

BWhy not this: Additional consumers change distribution but do not preserve transaction details when a worker is replaced.

CWhy this is right: External storage preserves the cross-event state so replacement workers can retrieve pending transaction details.

DWhy not this: Throttling reduces processing pressure but does not protect in-memory transaction state from worker replacement.

The service needs state across related events, so a shared database preserves pending details independently of worker lifetimes. Longer stream retention preserves source events but does not directly preserve the workers' pending transaction state.