Kafka - Consumers
Given the following Kafka consumer configuration snippet, what will be the behavior if auto.offset.reset is set to earliest and the consumer group is new?
props.put("auto.offset.reset", "earliest");Given the following Kafka consumer configuration snippet, what will be the behavior if auto.offset.reset is set to earliest and the consumer group is new?
props.put("auto.offset.reset", "earliest");auto.offset.reset behaviorearliestearliest, the consumer reads from the beginning of the topic if the group is new.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions