THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
KafkaStreams itself is a notable example of this, but we can take the opportunity to look for other components that make sense as AutoCloseable as well."
So in conclusion, by implementing AutoCloseable, the class these classes can use in a try-with-resources Statement after implementing AutoCloseable.
From AutoCloseable's Javadoc:
...