docs: private RingbufferConfig getRingbufferConfig(RingbufferService service, ObjectNamespace ns) {
          final String serviceName = ns.getServiceName();
          if (RingbufferService.SERVICE_NAME.equals(serviceName)) {
              return service.getRingbufferConfig(ns.getObjectName());
          } else if (MapService.SERVICE_NAME.equals(serviceName)) {
              final MapService mapService = getNodeEngine().getService(MapService.SERVICE_NAME);
              final MapEventJournal journal = mapService.getMapServiceContext().getEventJournal();
              final EventJournalConfig journalConfig = journal.getEventJournalConfig(ns);
              return journal.toRingbufferConfig(journalConfig, ns);
          } else if (CacheService.SERVICE_NAME.equals(serviceName)) {
              final CacheService cacheService = getNodeEngine().getService(CacheService.SERVICE_NAME);
              final CacheEventJournal journal = cacheService.getEventJournal();
              final EventJournalConfig journalConfig = journal.getEventJournalConfig(ns);
              return journal.toRingbufferConfig(journalConfig, ns);
          } else {
              throw new IllegalArgumentException("Unsupported ringbuffer service name " + serviceName);
          }
      }