Skip to content

⬆️ Update dependency com.lmax:disruptor to v4 #466

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 22, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.lmax:disruptor (source) 3.4.4 -> 4.0.0 age adoption passing confidence

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 - "after 4pm every weekday,before 5am every weekday,every weekend" in timezone Europe/Berlin, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Dec 22, 2023
@renovate renovate bot requested review from lexxy23 and rusty232 December 22, 2023 03:51
Copy link

github-actions bot commented Dec 22, 2023

Test Results

61 tests   - 61   61 ✔️  - 61   0s ⏱️ -11s
20 suites  - 19     0 💤 ±  0 
20 files    - 19     0 ±  0 

Results for commit 468d462. ± Comparison against base commit 0640500.

This pull request removes 61 tests.
ds2.oss.core.base.impl.test.OptionsTest ‑ testInit
ds2.oss.core.crypto.bc.tests.BcKeyPairGeneratorTest ‑ testECNamed1
ds2.oss.core.crypto.bc.tests.BcKeyPairGeneratorTest ‑ testECNamed2
ds2.oss.core.crypto.test.Argon2PasswordServiceImplTest ‑ testCreate1
ds2.oss.core.crypto.test.Argon2PasswordServiceImplTest ‑ testCreateAndValidate
ds2.oss.core.crypto.test.Argon2PasswordServiceImplTest ‑ testCreateEmpty
ds2.oss.core.crypto.test.Argon2PasswordServiceImplTest ‑ testCreateNull
ds2.oss.core.crypto.test.EncryptionServiceImplTest ‑ testDecrypt
ds2.oss.core.crypto.test.EncryptionServiceImplTest ‑ testEncrypt
ds2.oss.core.crypto.test.EncryptionServiceImplTest ‑ testEncryptWithDifferentInitVector
…

♻️ This comment has been updated with latest results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants