throw new IllegalStateException("Unknown timing strategy!");
}
private static WritingConfig createWritingConfig(Config config) {
DatabaseWriterType databaseWriterType = config.get(DATABASE_WRITER_TYPE_SETTING);
FluentWritingConfig result = FluentWritingConfig.defaultConfiguration();
if (databaseWriterType != null) {
result = result.withWriterType(databaseWriterType);