for (Entry<Integer, AdvancedExternalizer<?>> entry : config.serialization().advancedExternalizers().entrySet()) {
legacy.serialization().addAdvancedExternalizer(entry.getKey(), entry.getValue());
}
legacy.asyncTransportExecutor()
.factory(config.asyncTransportExecutor().factory().getClass())
.withProperties(config.asyncTransportExecutor().properties());
legacy.asyncListenerExecutor()
.factory(config.asyncListenerExecutor().factory().getClass())