You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by "justinwwhuang (via GitHub)" <gi...@apache.org> on 2024/09/25 08:15:41 UTC
[PR] [INLONG-992][Agent] Add doc for InLong Agent plugins extension [inlong-website]
justinwwhuang opened a new pull request, #993:
URL: https://github.com/apache/inlong-website/pull/993
Fixes #992
### Motivation
To clarify the process of adding Agent data sources
### Modifications
Add doc for InLong Agent plugins extension
### Verifying this change
- [ ] Make sure that the change passes the CI checks.
*(Please pick either of the following options)*
- [ ] This change is a trivial rework/code cleanup without any test coverage.
- [ ] This change is already covered by existing tests, such as:
*(please describe tests)*
- [ ] This change added tests and can be verified as follows:
*(example:)*
- *Added integration tests for end-to-end deployment with large payloads (10MB)*
- *Extended integration test for recovery after broker failure*
### Documentation
No doc needed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [INLONG-992][Agent] Add doc for InLong Agent plugins extension [inlong-website]
Posted by "luchunliang (via GitHub)" <gi...@apache.org>.
luchunliang merged PR #993:
URL: https://github.com/apache/inlong-website/pull/993
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [INLONG-992][Agent] Add doc for InLong Agent plugins extension [inlong-website]
Posted by "aloyszhang (via GitHub)" <gi...@apache.org>.
aloyszhang commented on code in PR #993:
URL: https://github.com/apache/inlong-website/pull/993#discussion_r1774865412
##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/development/inlong_plugins_extension/agent.md:
##########
@@ -1,15 +1,16 @@
---
-title: Agent 插件
+title: Agent 新增数据源
sidebar_position: 3
---
## 概述
+
在 Standard Architecture 中,我们可以通过 InLong Agent 来采集各种类型的数据源。InLong Agent 支持以插件的方式扩展新的采集类型,本文将指导开发者如何自定义新的 Agent 采集数据源插件。
## 核心概念
### Task 和 Instance
Task 和 Instance 是 Agent 最核心的两个概念,简单理解:Task 对应管理平台上配置的一个采集任务,而 Instance 则是由 Task 生成的一个具体的采集实例。举个例子,管理平台上有个采集任务的配置: `127.0.0.1 -> /data/log/YYMMDDhh.log._[0-9]+`,表示用户需要在 `127.0.0.1` 这台机器上采集符合 `/data/log/YYMMDDhh.log._[0-9]+`,这个路径规则的数据,**这就是一个 Task**。这个 Task 会根据这个路径规则去寻找满足条件的文件,**为每个符合条件的文件生成一个对应的 Instance**,比如说有`/data/log/2024040221.log.0,/data/log/2024040221.log.1,/data/log/2024040221.log.3` 3个文件,那么 Task 就会生成 3 个 Instance 分别采集这三个文件的数据。
-
+
Review Comment:
please use a meaningful name for images
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [INLONG-992][Agent] Add doc for InLong Agent plugins extension [inlong-website]
Posted by "aloyszhang (via GitHub)" <gi...@apache.org>.
aloyszhang commented on code in PR #993:
URL: https://github.com/apache/inlong-website/pull/993#discussion_r1774863238
##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/development/inlong_plugins_extension/agent.md:
##########
@@ -1,15 +1,16 @@
---
-title: Agent 插件
+title: Agent 新增数据源
Review Comment:
```suggestion
title: Agent 插件扩展
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org