Skip to content

Remove deprecated io.lettuce.core.EpollProvider and KqueueProvider - #4040

Merged
a-TODO-rov merged 1 commit into
mainfrom
remove-deprecated-epoll-kqueue-providers
Nov 27, 2026
Merged

a-TODO-rov merged 1 commit into
mainfrom
remove-deprecated-epoll-kqueue-providers

Conversation

@a-TODO-rov

Copy link
Copy Markdown
Collaborator

Remove deprecated io.lettuce.core.EpollProvider and KqueueProvider

Summary

Removes the two classes io.lettuce.core.EpollProvider and io.lettuce.core.KqueueProvider, deprecated since 6.0 when they moved to io.lettuce.core.resource. Each had one method, isAvailable(), which only called the class of the same name in io.lettuce.core.resource. Lettuce 8.0 is a major release, so this is the window to drop them.

Behavioral / Conceptual Changes

  • Code that imports io.lettuce.core.EpollProvider or io.lettuce.core.KqueueProvider no longer compiles. Switching the import to io.lettuce.core.resource.EpollProvider / KqueueProvider fixes it; the method name and behavior are the same.
  • The transport classes in io.lettuce.core.resource are unchanged.

Notes

  • Breaking change, listed under the 8.0 breaking changes in docs/new-features.md.
  • Nothing in Lettuce used the removed classes.
  • Spring Data Redis main uses them only in a test (LettuceConnectionFactoryTests), which needs the same import change when it moves to Lettuce 8.0.
  • No issue exists for this yet; open one to reference in the title if required.

Both classes were deprecated in 6.0 when they moved to io.lettuce.core.resource.
Their only method, isAvailable(), delegated to the classes of the same name in
that package, which stay. Callers change the import.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-27T12:30:13.179178Z 61f9292 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@a-TODO-rov
a-TODO-rov merged commit 4815b25 into main Nov 27, 2026
10 checks passed
@a-TODO-rov
a-TODO-rov deleted the remove-deprecated-epoll-kqueue-providers branch November 27, 2026 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant