Replace all EventLoopGroups with MultiThreadIoEventLoopGroup

Apache 2.0

Replaces Netty's new *EventLoopGroup with new MultiThreadIoEventLoopGroup(*IoHandler.newFactory()).

org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes
mod run . --recipe=org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Replace EpollEventLoopGroup with MultiThreadIoEventLoopGroup
  2. Replace LocalEventLoopGroup with MultiThreadIoEventLoopGroup
  3. Replace NioEventLoopGroup with MultiThreadIoEventLoopGroup