简体   繁体   English

Apache Camel Chronicle 组件 [已弃用]

[英]Apache Camel Chronicle Component [Deprecated]

Why has this particular component been deprecated?为什么不推荐使用此特定组件? Is Java moving away from supporting mapped memory? Java 是否不再支持映射内存? We have a special use case where this would be nice to have, two applications that should never have been uncoupled and are currently communicating via REST which causes a great deal of latency.我们有一个特殊的用例,这会很好,两个应用程序永远不应该解耦,并且当前正在通过 REST 进行通信,这会导致大量延迟。 The data is basically big blobs of binary serial data, so to wrap REST around it we first need to encode it and package it in an object, then unmarshal it on the other side and unencode it.数据基本上是二进制串行数据的大块,因此要围绕它包装 REST,我们首先需要对其进行编码并将其打包到一个对象中,然后在另一侧对其进行解组并取消编码。

The other options are to use netty (incurs a bit more latency than mapped memory due to TCP/IP), named pipes (not natively supported by Java so need to wrap it in C), or spend the time to rewrite this as one application.其他选项是使用 netty(由于 TCP/IP 导致比映射内存更多的延迟)、命名管道(Java 本身不支持,因此需要将其包装在 C 中),或者花时间将其重写为一个应用程序.

camel-chronicle was deprecated in 2.x and removed in Camel 3.0. camel-chronicle在 2.x 中被弃用,并在 Camel 3.0 中被删除。 It was removed, because the developers of the library Chronicle-Engine , which was used by camel-chronicle component, decided to move into private repository.它被删除,因为camel-chronicle组件使用的库Chronicle-Engine的开发人员决定转移到私有存储库中。 It is now commercial, licensed and closed-source product, which is not compatible with Apache 2 licence.它现在是商业、许可和闭源产品,与 Apache 2 许可证不兼容。

There was two options:有两种选择:

  1. Deprecate and remove component.弃用并删除组件。
  2. Keep this component unmaintaned forever with the last release from 2017, which was Apache 2 compatible.使用 2017 年的最新版本(与 Apache 2 兼容)永远保持该组件不受维护。

We have decided to remove this component in this vote: https://camel.465427.n5.nabble.com/Should-we-deprecate-camel-chronicle-td5829082.html我们决定在这次投票中删除这个组件: https : //camel.465427.n5.nabble.com/Should-we-deprecate-camel-chronicle-td5829082.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM