CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 19: CCDAK: Confluent Certified Developer for Apache Kafka

You are writing a producer application and need to ensure proper delivery. You configure the producer with acks level to all. Which two actions should you take to ensure proper error handling? (Choose two.)

Nội dung câu hỏi

You are writing a producer application and need to ensure proper delivery. You configure the producer with acks level to all. Which two actions should you take to ensure proper error handling? (Choose two.)

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.

  1. A. Use a callback argument in 'producer.send()' where you check delivery status. — đáp án hiện tại
  2. B. Check that 'producer.send()' retumed a 'RecordMetadata' object and is not null.
  3. C. Surround the call of 'producer.send()' with a try/catch block to catch 'KafkaException'. — đáp án hiện tại
  4. D. Check the value of 'ProducerRecord status()'

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề