Details
-
Sub-task
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
Description
Per KIP-266, the Consumer.poll(long timeout) method was deprecated back in 2.0.0.
In 3.7, there are two implementations, each with different behavior:
- The LegacyKafkaConsumer implementation will continue to work but will log a warning about its removal
- The AsyncKafkaConsumer implementation will throw an error.
In 4.0, the `poll` method that takes a single `long` timeout will be removed altogether.
Attachments
Issue Links
- is required by
-
KAFKA-17337 ConsumerConfig should default to CONSUMER for group.protocol
- Patch Available
- relates to
-
KAFKA-15837 Throw error on use of Consumer.poll(long timeout)
- Resolved
- links to