docs: @Override
      public RingbufferConfig toRingbufferConfig(EventJournalConfig config, ObjectNamespace namespace) {
          CacheConfig cacheConfig = getCacheService().getCacheConfig(namespace.getObjectName());
          if (cacheConfig == null) {
              throw new CacheNotExistsException("Cache " + namespace.getObjectName()
                      + " is already destroyed or not created yet, on "
                      + nodeEngine.getLocalMember());
          }
          int partitionCount = nodeEngine.getPartitionService().getPartitionCount();
          return new RingbufferConfig()
                  .setAsyncBackupCount(cacheConfig.getAsyncBackupCount())
                  .setBackupCount(cacheConfig.getBackupCount())
                  .setInMemoryFormat(InMemoryFormat.OBJECT)
                  .setCapacity(config.getCapacity() / partitionCount)
                  .setTimeToLiveSeconds(config.getTimeToLiveSeconds());
      }