You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by he...@apache.org on 2022/02/28 07:28:58 UTC
[incubator-inlong] branch master updated (7ef3aa6 -> 59bd82a)
This is an automated email from the ASF dual-hosted git repository.
healchow pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git.
from 7ef3aa6 [INLONG-2764][manager]Fix duplication key and resolve conflicts (#2765)
add 59bd82a [INLONG-2666][Agent] Agent supports collecting the data from Kafka (#2725)
No new revisions were added by this update.
Summary of changes:
.../apache/inlong/agent/constant/JobConstants.java | 43 +--
.../apache/inlong/agent/pojo/JobProfileDto.java | 26 +-
.../org/apache/inlong/agent/pojo/KafkaJob.java | 44 ++-
.../apache/inlong/agent/core/job/JobWrapper.java | 11 +-
inlong-agent/agent-plugins/pom.xml | 6 +
.../inlong/agent/plugin/channel/MemoryChannel.java | 10 +-
.../inlong/agent/plugin/sources/KafkaSource.java | 145 ++++++++++
.../agent/plugin/sources/TextFileSource.java | 10 +-
.../agent/plugin/sources/reader/KafkaReader.java | 297 +++++++++++++++++++++
.../sources/snapshot/BinlogSnapshotBase.java | 3 +-
.../agent/plugin/trigger/DirectoryTrigger.java | 3 +-
.../apache/inlong/agent/plugin/TestFileAgent.java | 24 +-
.../apache/inlong/agent/plugin/sinks/MockSink.java | 7 +-
.../agent/plugin/sources/TestKafkaReader.java | 67 +++++
inlong-agent/pom.xml | 2 +
15 files changed, 634 insertions(+), 64 deletions(-)
create mode 100644 inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/sources/KafkaSource.java
create mode 100644 inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/sources/reader/KafkaReader.java
create mode 100644 inlong-agent/agent-plugins/src/test/java/org/apache/inlong/agent/plugin/sources/TestKafkaReader.java