Update dependency com.lmax:disruptor to v4
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
- Minimum Java version now 11
- Issue #​323 -
WorkerPoolandWorkProcessorhave been removed, no moreDisruptor::handleEventsWithWorkerPool -
Disruptorconstructors usingExecutorhave been removed. UseThreadFactoryinstead. - Rolled up event handling extension interfaces on to
EventHandler:-
BatchStartAware -
LifecycleAware -
SequenceReportingEventHandler
-
-
FatalExceptionHandlerandIgnoreExceptionHandlernow 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::onBatchStartnow gets both thebatchSizeas well asqueueDepth(previously it hadbatchSizewhich reported queue depth)
-
- Added documentation to
EventPoller -
Util::log2throws 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()
-
- Deprecated
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
This PR has had no activity for 60 days and is now labeled as stale. Any new activity will remove the stale label. To attract more reviewers, please tag people who might be familiar with the code area and/or notify the [email protected] mailing list. To exempt this PR from being marked as stale, make it a draft PR or add the label "exempt-stale". If left unattended, this PR will be closed after another 60 days of inactivity. Thank you for your contribution!
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.