Commit 72f996ec authored by Pere Urbon's avatar Pere Urbon
Browse files

clean up blank lines

parent b7867f2c
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -189,7 +189,6 @@ public class ElasticsearchWriter {
  }

  public void write(Collection<SinkRecord> records) {

    for (SinkRecord sinkRecord : records) {
      final String index = convertTopicToIndexName(sinkRecord.topic());
      final boolean ignoreKey = ignoreKeyTopics.contains(sinkRecord.topic()) || this.ignoreKey;
@@ -211,10 +210,8 @@ public class ElasticsearchWriter {

      bulkProcessor.add(indexableRecord, flushTimeoutMs);
    }

  }


  /**
   * Return the expected index name for a given topic, using the configured mapping or the topic name. Elasticsearch
   * <a href="https://github.com/elastic/elasticsearch/issues/29420">accepts only lowercase index names</a>.
+0 −2
Original line number Diff line number Diff line
@@ -110,7 +110,5 @@ public class ElasticsearchSinkTaskTest extends ElasticsearchSinkTestBase {
    } finally {
      task.stop();
    }

  }

}