How can you gracefully make a Kafka consumer to stop immediately polling data from Kafka and gracefully shut down a consumer application?
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
Answer: A
Explanation:
See https://stackoverflow.com/a/37748336/3019499
Latest CCDAK Dumps Valid Version with 150 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments