Skip to content

Conversation

solrbot
Copy link
Collaborator

@solrbot solrbot commented Jan 24, 2025

This PR contains the following updates:

Package Type Update Change
com.lmax:disruptor (source) dependencies major 3.4.4 -> 4.0.0

Release Notes

LMAX-Exchange/disruptor (com.lmax:disruptor)

v4.0.0

Compare Source

  • Minimum Java version now 11
  • Issue #​323 - WorkerPool and WorkProcessor have been removed, no more Disruptor::handleEventsWithWorkerPool
  • Disruptor constructors using Executor have been removed. Use ThreadFactory instead.
  • Rolled up event handling extension interfaces on to EventHandler:
    • BatchStartAware
    • LifecycleAware
    • SequenceReportingEventHandler
  • FatalExceptionHandler and IgnoreExceptionHandler now use the JDK 9 Platform Logging API, i.e. System.Logger
  • Add rewind batch feature to the BatchEventProcessor
  • Add a maximum batch size argument to BatchEventProcessor
    • EventHandler::onBatchStart now gets both the batchSize as well as queueDepth (previously it had batchSize which reported queue depth)
  • Added documentation to EventPoller
  • Util::log2 throws if passed a non-positive argument
  • Deprecations
    • Deprecated ThreadHints.onSpinWait()
    • Deprecated Disruptor.handleExceptionsWith() - this had been javadoc deprecated since 2015 but not in the code
    • Removed previously deprecated methods
      • Ringbuffer.resetTo()
      • ConsumerRepository.getLastSequenceInChain()

Configuration

📅 Schedule: Branch creation - Every minute ( * * * * * ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot

Copy link
Contributor

@malliaridis malliaridis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From previous review, this upgrade requires log4j to be updated first.

Therefore, blocked by #2895.

@solrbot solrbot force-pushed the renovate/major-lmax.disruptor branch from e43d298 to 99266d5 Compare February 8, 2025 13:52
@solrbot solrbot changed the title chore(deps): update dependency com.lmax:disruptor to v4 Update dependency com.lmax:disruptor to v4 Feb 11, 2025
@solrbot solrbot changed the title Update dependency com.lmax:disruptor to v4 chore(deps): update dependency com.lmax:disruptor to v4 Feb 15, 2025
@solrbot solrbot force-pushed the renovate/major-lmax.disruptor branch from 99266d5 to 8f96ef6 Compare February 16, 2025 16:54
@solrbot solrbot changed the title chore(deps): update dependency com.lmax:disruptor to v4 Update dependency com.lmax:disruptor to v4 Feb 16, 2025
@solrbot solrbot force-pushed the renovate/major-lmax.disruptor branch from 8f96ef6 to 9ab8154 Compare February 16, 2025 21:59
@solrbot solrbot changed the title Update dependency com.lmax:disruptor to v4 chore(deps): update dependency com.lmax:disruptor to v4 Feb 16, 2025
@solrbot solrbot changed the title chore(deps): update dependency com.lmax:disruptor to v4 Update dependency com.lmax:disruptor to v4 Feb 26, 2025
@solrbot solrbot changed the title Update dependency com.lmax:disruptor to v4 chore(deps): update dependency com.lmax:disruptor to v4 Mar 21, 2025
@solrbot solrbot changed the title chore(deps): update dependency com.lmax:disruptor to v4 Update dependency com.lmax:disruptor to v4 Mar 22, 2025
@solrbot solrbot changed the title Update dependency com.lmax:disruptor to v4 chore(deps): update dependency com.lmax:disruptor to v4 Mar 24, 2025
@solrbot solrbot force-pushed the renovate/major-lmax.disruptor branch from 9ab8154 to 0dd8e55 Compare March 26, 2025 02:37
@solrbot solrbot changed the title chore(deps): update dependency com.lmax:disruptor to v4 Update dependency com.lmax:disruptor to v4 Apr 3, 2025
@solrbot solrbot force-pushed the renovate/major-lmax.disruptor branch from 0dd8e55 to f73bd21 Compare May 26, 2025 10:05
@ppkarwasz
Copy link

Log4j Core has introduced support for Disruptor 4.x in version 2.23.0 (see the Log4j 2.23.0 release notes). To make this PR build successfully, you’ll need to merge #3079 first.

@solrbot solrbot force-pushed the renovate/major-lmax.disruptor branch 4 times, most recently from b4424f5 to 8395235 Compare September 2, 2025 03:08
@solrbot solrbot force-pushed the renovate/major-lmax.disruptor branch 2 times, most recently from ed1fab2 to 096d7ed Compare September 16, 2025 02:36
@solrbot solrbot force-pushed the renovate/major-lmax.disruptor branch from 096d7ed to 0620136 Compare September 16, 2025 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants