Skip to content

Commit

Permalink
defer removal of PipelineBusV1 until after 9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yaauie committed Dec 17, 2024
1 parent e18e466 commit bf76848
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ static PipelineBus create() {
final String pipelineBusImplementation = System.getProperty("logstash.pipelinebus.implementation", "v2");
switch (pipelineBusImplementation) {
case "v1":
DEPRECATION_LOGGER.deprecated("The legacy pipeline bus selected with `logstash.pipelinebus.implementation=v1` is deprecated, and will be removed in Logstash 9.0");
DEPRECATION_LOGGER.deprecated("The legacy pipeline bus selected with `logstash.pipelinebus.implementation=v1` is deprecated, and will be removed in a future release of Logstash");
return new PipelineBusV1();
case "v2": return new PipelineBusV2();
default:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ public void whenInBlockingModeInputsShutdownLast() throws InterruptedException {

// This should unblock the listener thread
bus.unregisterSender(output, addresses);
TimeUnit.SECONDS.toMillis(30);
unlistenThread.join(Duration.ofSeconds(30).toMillis());
assertThat(unlistenThread.getState()).isEqualTo(Thread.State.TERMINATED);

Expand Down

0 comments on commit bf76848

Please sign in to comment.