Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INLONG-9741][Agent] Update Kafka source for Agent #9749

Merged
merged 4 commits into from
Mar 1, 2024

Conversation

haifxu
Copy link
Contributor

@haifxu haifxu commented Feb 29, 2024

Prepare a Pull Request

Motivation

Update Kafka source for Agent

Modifications

  1. Add partitionOffsets in KafkaJob, used to specify the offset of each partition.
  2. Fix the escape character in agent-docker.sh
  3. Add KafkaTask and KafkaInstance to manage KafkaSource. One instance corresponds to one Source, and one Source corresponds to one Topic.
  4. Update KafkaSource:
    Supports consumers to specify offsets;
    Tasks restored from db will use the offsets managed by Kafka for consumption;

Verifying this change

image

@justinwwhuang justinwwhuang added this to the 1.12.0 milestone Feb 29, 2024
@dockerzhang dockerzhang changed the title [INLONG-9741][Agent] Add Kafka source for Agent [INLONG-9741][Agent] Update Kafka source for Agent Feb 29, 2024
Copy link
Contributor

@justinwwhuang justinwwhuang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dockerzhang dockerzhang merged commit d3abcf6 into apache:master Mar 1, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature][Agent] Update Kafka source for Agent
3 participants