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

[Bug] [connector-kafka] Kafka start_made handles exceptions #8763

Open
2 of 3 tasks
CosmosNi opened this issue Feb 18, 2025 · 1 comment
Open
2 of 3 tasks

[Bug] [connector-kafka] Kafka start_made handles exceptions #8763

CosmosNi opened this issue Feb 18, 2025 · 1 comment
Labels

Comments

@CosmosNi
Copy link
Contributor

CosmosNi commented Feb 18, 2025

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

In the scenario where the current topic has not been consumed, in batch mode, if start_mode is set to earliest, the job will consume from the beginning after restarting, rather than continuing to consume from the last consumed offset. If start_mode is set to latest, no data can be read at the beginning.

SeaTunnel Version

2.3.10

SeaTunnel Config

source {
  Kafka {
    topic = "test_topic_source"
    bootstrap.servers = "kafkaCluster:9092"
    start_mode = "earliest"
    format_error_handle_way = skip
  }
}

Running Command

./seatunnel.sh run

Error Exception

Repeated consumption

Zeta or Flink or Spark Version

No response

Java or Scala Version

No response

Screenshots

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@CosmosNi CosmosNi added the bug label Feb 18, 2025
@CosmosNi CosmosNi changed the title [Bug] [connector-kafka] Kafka start_made is inconsistent with native [Bug] [connector-kafka] Kafka start_made handles exceptions Feb 18, 2025
@litiliu
Copy link
Contributor

litiliu commented Feb 20, 2025

the doc says it support the group_offsets as start_mode, have you tried that? https://seatunnel.apache.org/docs/2.3.0/connector-v2/source/kafka/#start_mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants