expose RingBuffer creation so it can be injected later