the aiven-commons project has a RingBuffer.
This ticket is to move our current RingBuffer implementation into the same package as the one in aiven-commons and then replace it with the code from aiven-commons. This is in anticipation of switching over to aiven-commons once it is published.