April 17, 2020
When unit testing if you get this error:
Offsets out of range with no configured reset policy for partitions
It means you may have some leftover state from a previous run of your tests - particularly if you’re using embedded Kafka.
Delete the checkpoints file - for me this was called /tmp/kafka-streams/$APP_NAME/global/.checkpoint
so replace $APP_NAME
with the name of your kafka streams application, delete the file and re-run your tests.
Written by Phil Hardwick