为什么在 netty 4.1 中不推荐使用 UDT 传输?
Why is UDT transport deprecated in netty 4.1?
我正在寻找 Java 中基于 UDP 的数据传输的实现。我很高兴找到 netty,因为它提供 UDT 传输。
但再看一眼,我发现 io.netty.channel.udt 下的所有 类 都已弃用。
这是什么原因?
基于netty/udt开始开发有意义还是有更好的方法?
- 从 netty 站点,查看 'get involved' 菜单。
- 转到GitHub。
- 搜索一个已弃用的文件,例如NioUdtAcceptorChannel.java
- 选择'blame'
- 找到带有@deprecated 属性的行
- 看评论
Mark transport udt as deprecated as barchart-udt is not maintained anymore
Motivation:
barchart-udt is not maintained anymore so there is not way for us to
get fixes for udt. Because of this we should mark the transport as
deprecated.
Modifications:
Deprecate all udt classes.
Result:
transport udt is deprecated and so the user knows it will be removed
in the future.
https://github.com/netty/netty/commit/4734ef61a57b15df3e313b071956218fde98da2c
Barchart-udt 在 https://github.com/barchart/barchart-udt 并且似乎在去年有提交,所以我不确定这个原因是否仍然有效。
我正在寻找 Java 中基于 UDP 的数据传输的实现。我很高兴找到 netty,因为它提供 UDT 传输。
但再看一眼,我发现 io.netty.channel.udt 下的所有 类 都已弃用。
这是什么原因? 基于netty/udt开始开发有意义还是有更好的方法?
- 从 netty 站点,查看 'get involved' 菜单。
- 转到GitHub。
- 搜索一个已弃用的文件,例如NioUdtAcceptorChannel.java
- 选择'blame'
- 找到带有@deprecated 属性的行
- 看评论
Mark transport udt as deprecated as barchart-udt is not maintained anymore
Motivation:
barchart-udt is not maintained anymore so there is not way for us to get fixes for udt. Because of this we should mark the transport as deprecated.
Modifications:
Deprecate all udt classes.
Result:
transport udt is deprecated and so the user knows it will be removed in the future.
https://github.com/netty/netty/commit/4734ef61a57b15df3e313b071956218fde98da2c
Barchart-udt 在 https://github.com/barchart/barchart-udt 并且似乎在去年有提交,所以我不确定这个原因是否仍然有效。