add translateAndPublishBatch to ringbuffer