如何重放 KahaDB 消息档案?

发布于 2024-09-26 23:58:35 字数 166 浏览 1 评论 0原文

在 ActiveMQ KahaDB 文档中,它提到您可以存档 KahaDB 数据文件,以便以后需要时可以重播它们。然而,通过一些搜索和浏览他们的文档和 ActiveMQ in Action 的草稿副本,我找不到任何示例或线索如何实际重播这些文件。

我希望有人能为我指出需要做什么才能真正执行重播的方向。

In the ActiveMQ KahaDB documentation, it mentions that you can archive KahaDB data files so they can be replayed if needed later. Yet, through some searching and looking through their documentation and the draft copy of ActiveMQ in Action, I can't find any example or clues how to actually do the replay of those files.

I'm hoping someone out there can point me in the direction on what needs to be done in order to actually perform a replay.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

深巷少女 2024-10-03 23:58:35

KahaDB 仅在代理启动时重播消息/事件,以将代理返回到代理停止之前的状态(恢复持久消息等),

它不会保留需要重播的历史消息。一旦消息成功出队,就会从 KahaDB 数据文件中删除。

如果您有这样的要求来复制消息以进行审核/重用,那么我建议您研究一下 镜像队列 或使用 camel 窃听 模式。

KahaDB only replays messages/events when a broker is started to return the broker to the state prior to the broker being stopped (recovering persistent messages, etc.)

It does not retain historical messages to be replayed on demand. Once a message is dequeued successfully, then its removed from the KahaDB data files.

If you have such a requirement to copy messages for auditing/reuse, then I suggest look into something like mirrored queues or using the camel wire-tap pattern.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文