【发布时间】:2021-03-05 10:55:03
【问题描述】:
CORB 和 MLCP MarkLogic 有什么区别吗?
我看到他们做同样的工作。你在什么场景下使用这个和那个?
【问题讨论】:
标签: marklogic mlcp marklogic-corb
CORB 和 MLCP MarkLogic 有什么区别吗?
我看到他们做同样的工作。你在什么场景下使用这个和那个?
【问题讨论】:
标签: marklogic mlcp marklogic-corb
CoRB 和 MLCP 都是基于 Java 的工具,它们通过 XCC 协议与 MarkLogic 进行通信。
功能上有很多重叠。它们都可以用于将数据加载到数据库中、执行文档的批量转换以及导出数据和生成报告。
MLCP 知道如何生成和使用 MarkLogic Archive,并且可以轻松地在集群之间复制数据。
CoRB 提供了许多预构建的功能,但也可以通过“插入”您自己的 Java 任务或 XQuery/JavaScript 模块而不是使用提供的预构建模块来自定义行为。
两者都提供了用于执行批量任务以与 MarkLogic 一起使用的引擎,可通过属性和命令行开关进行自定义,并提供自定义 JavaScript 或 XQuery 模块。
在许多情况下,任何一种工具都可以用来完成工作,这只是个人喜好或专业知识的问题。
功能的高级概述以显示一些相似之处和不同之处
| CoRB | MLCP | |
|---|---|---|
| Uses XCC protocol | ✅ | ✅ |
| Java based | ✅ | ✅ |
| Commandline utility | ✅ | ✅ |
| Execute XQuery modules | ✅ | ✅ |
| Execute JavaScript modules | ✅ | ✅ |
| Execute custom Java tasks | ✅ | ❌ |
| Multiple customizable stages of processing | ✅ | ❌ |
| Import from CSV | ✅ | ✅ |
| Import files from directory | ✅ | ✅ |
| Import files from zip | ✅ | ✅ |
| Import XML file (splitting into multiple documents) | ✅ | ✅ |
| Import MarkLogic Archive | ❌ | ✅ |
| Export MarkLogic Archive | ❌ | ✅ |
| Bulk reprocess database records | ✅ | ✅ |
| Produce CSV | ✅ | ✅ |
| Dedup and sort exported text file | ✅ | ❌ |
| Export documents | ✅ | ✅ |
| Export as zip | ✅ | ✅ |
| Bulk Schema validation | ✅ | ❌ |
| Web UI and endpoints to display status and dynamically adjust threads or pause/resume jobs | ✅ | ❌ |
| Manually adjust threads or pause/resume jobs | ✅ | ❌ |
| Auto-scaling to adjust threads | ❌ | ✅ |
| MarkLogic supported product | ❌ | ✅ |
| Apache 2 open source license | ✅ | ✅ |
【讨论】: