Skip to content

Commit

Permalink
Bulk UDP: Removal.
Browse files Browse the repository at this point in the history
This feature is rarely used. Removing it will help reduce the moving parts
of Elasticsearch and focus on the core.

Close #7595
  • Loading branch information
jpountz committed Sep 11, 2014
1 parent 8bafb5f commit ccb3d21
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 320 deletions.
3 changes: 0 additions & 3 deletions docs/reference/docs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ This section describes the following CRUD APIs:
.Multi-document APIs
* <<docs-multi-get>>
* <<docs-bulk>>
* <<docs-bulk-udp>>
* <<docs-delete-by-query>>

NOTE: All CRUD APIs are single-index APIs. The `index` parameter accepts a single
Expand All @@ -37,8 +36,6 @@ include::docs/bulk.asciidoc[]

include::docs/delete-by-query.asciidoc[]

include::docs/bulk-udp.asciidoc[]

include::docs/termvectors.asciidoc[]

include::docs/multi-termvectors.asciidoc[]
57 changes: 0 additions & 57 deletions docs/reference/docs/bulk-udp.asciidoc

This file was deleted.

32 changes: 0 additions & 32 deletions src/main/java/org/elasticsearch/bulk/udp/BulkUdpModule.java

This file was deleted.

221 changes: 0 additions & 221 deletions src/main/java/org/elasticsearch/bulk/udp/BulkUdpService.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
import org.elasticsearch.Version;
import org.elasticsearch.action.ActionModule;
import org.elasticsearch.action.bench.BenchmarkModule;
import org.elasticsearch.bulk.udp.BulkUdpModule;
import org.elasticsearch.bulk.udp.BulkUdpService;
import org.elasticsearch.cache.recycler.PageCacheRecycler;
import org.elasticsearch.cache.recycler.PageCacheRecyclerModule;
import org.elasticsearch.client.Client;
Expand Down Expand Up @@ -183,7 +181,6 @@ public InternalNode(Settings preparedSettings, boolean loadConfigSettings) throw
modules.add(new MonitorModule(settings));
modules.add(new GatewayModule(settings));
modules.add(new NodeClientModule());
modules.add(new BulkUdpModule());
modules.add(new ShapeModule());
modules.add(new PercolatorModule());
modules.add(new ResourceWatcherModule());
Expand Down Expand Up @@ -251,7 +248,6 @@ public Node start() {
if (settings.getAsBoolean("http.enabled", true)) {
injector.getInstance(HttpServer.class).start();
}
injector.getInstance(BulkUdpService.class).start();
injector.getInstance(ResourceWatcherService.class).start();
injector.getInstance(TribeService.class).start();

Expand All @@ -269,7 +265,6 @@ public Node stop() {
logger.info("stopping ...");

injector.getInstance(TribeService.class).stop();
injector.getInstance(BulkUdpService.class).stop();
injector.getInstance(ResourceWatcherService.class).stop();
if (settings.getAsBoolean("http.enabled", true)) {
injector.getInstance(HttpServer.class).stop();
Expand Down Expand Up @@ -323,8 +318,6 @@ public void close() {
StopWatch stopWatch = new StopWatch("node_close");
stopWatch.start("tribe");
injector.getInstance(TribeService.class).close();
stopWatch.stop().start("bulk.udp");
injector.getInstance(BulkUdpService.class).close();
stopWatch.stop().start("http");
if (settings.getAsBoolean("http.enabled", true)) {
injector.getInstance(HttpServer.class).close();
Expand Down

0 comments on commit ccb3d21

Please sign in to comment.