Skip to content

Commit 15f8405

Browse files
committed
Make Netty kqueue and io_uring transport dependencies optional
Their inclusion can trigger unexpected automatic behavior for some downstream libraries (gateway webflux server uses io_uring if it is present). They can be added explictly by a user that wants to use them as the Netty transport layer in the AMQP client. This is unlikely though, native epoll and JDK NIO are the defaults and they are usually both fine for a client application. Fixes #292
1 parent 21489bf commit 15f8405

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
<spotless.check.skip>true</spotless.check.skip>
4444
<slf4j.version>1.7.36</slf4j.version>
4545
<netty4.version>4.2.7.Final</netty4.version>
46-
<netty4.iouring.version>0.0.26.Final</netty4.iouring.version>
4746
<micrometer.version>1.15.5</micrometer.version>
4847
<gson.version>2.13.2</gson.version>
4948
<logback.version>1.2.13</logback.version>
@@ -132,12 +131,14 @@
132131
<artifactId>netty-transport-native-kqueue</artifactId>
133132
<version>${netty4.version}</version>
134133
<classifier>osx-x86_64</classifier>
134+
<optional>true</optional>
135135
</dependency>
136136
<dependency>
137137
<groupId>io.netty</groupId>
138138
<artifactId>netty-transport-native-io_uring</artifactId>
139139
<version>${netty4.version}</version>
140140
<classifier>linux-x86_64</classifier>
141+
<optional>true</optional>
141142
</dependency>
142143
<!-- End of QPid dependencies -->
143144

0 commit comments

Comments
 (0)