Skip to content

Commit

Permalink
remove pipeline bus v1 (#16895)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaauie authored Jan 10, 2025
1 parent 356ecb3 commit 348f162
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 247 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,7 @@ public interface PipelineBus {
* @return a new pipeline bus
*/
static PipelineBus create() {
final String pipelineBusImplementation = System.getProperty("logstash.pipelinebus.implementation", "v2");
switch (pipelineBusImplementation) {
case "v1": return new PipelineBusV1();
case "v2": return new PipelineBusV2();
default:
LOGGER.warn("unknown pipeline-bus implementation: {}", pipelineBusImplementation);
return new PipelineBusV1();
}
return new PipelineBusV2();
}

/**
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class PipelineBusTest {

@Parameterized.Parameters(name = "{0}")
public static Collection<Class<? extends PipelineBus.Testable>> data() {
return Set.of(PipelineBusV1.Testable.class, PipelineBusV2.Testable.class);
return Set.of(PipelineBusV2.Testable.class);
}

@Parameterized.Parameter
Expand Down

0 comments on commit 348f162

Please sign in to comment.