Exit CCDAK Confluent Certified Developer for Apache Kafka Certification Examination
Question 1 of 5
0% complete
Q1 Single choice

How can you gracefully make a Kafka consumer to stop immediately polling data from Kafka and gracefully shut down a consumer application?

  • A

    Call consumer.wakeUp() and catch a WakeUpException

  • B

    Call consumer.poll() in another thread

  • C

    Kill the consumer thread

Previous Next