@Override
	public void open() {
		this.dateTimeFormatter = DateTimeFormatter.ofPattern(dateTimeFormat);
	}
Abstract class for time related {@link IndexGenerator}.
elasticsearch7/elasticsearch7-sink/src/main/java/org/apache/flink/streaming/connectors/elasticsearch/index/AbstractTimeIndexGenerator.java