Câu 15: CCDAK: Confluent Certified Developer for Apache Kafka
You create a producer that writes messages about bank account transactions from tens of thousands of different customers into a topic.- Your consumers must process these messages with low latency and minimize consumer lag- Processing these messages takes around six times longer than producing them- Transactions for ea…
Nội dung câu hỏi
You create a producer that writes messages about bank account transactions from tens of thousands of different customers into a topic.- Your consumers must process these messages with low latency and minimize consumer lag- Processing these messages takes around six times longer than producing them- Transactions for each bank account must be processed in orderYou need to develop a strategy that minimizes consumer latency while maintaining scalability if the number of transactions increases. Which strategy should you use?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Use the timestamp of the message's arrival as its key.
- B. Use the bank account number found in the message as the message key. — đáp án hiện tại
- C. Use a combination of the bank account number and the transaction timestamp as the message key.
- D. Use a unique identifier such as a universally unique identifier (UUID) as the message key.
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.