kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Anderson <manderso...@gmail.com>
Subject Re-using KafkaConsumer after exception from poll
Date Thu, 07 Feb 2019 19:50:16 GMT

Reviewing the javadoc for KafkaConsumer.poll() I'd like to confirm the
status of the consumer after the poll method throws an exception.

I assume for an unrecoverable KafkaException you could not re-use the
consumer and would need to create a brand new KafkaConsumer object?

Are there any cases where it would be OK to re-use the KafkaConsumer after
poll() throws an exception?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message