I am using kafka client 0.10.0.0 and I am sending a file having 2800 records in it using
kafka-console-producer.sh --broker-list localhost:9092 --topic my_consumer_topic < 2800Rec.txt
But my client only reads 2499 records in poll.
One more thing when I send one non duplicate record then my consumer poll 2500 record. So is there anything in Kafka which only stores 2499 duplicate records in kafka.