apache / seatunnel

SeaTunnel is a next-generation super high-performance, distributed, massive data integration tool.
https://seatunnel.apache.org/
Apache License 2.0
8.08k stars 1.83k forks source link

[Bug] [Kafka source STREAMING] Kafka source connector doesn't capture new data from topic #8107

Open maerman13 opened 1 week ago

maerman13 commented 1 week ago

Search before asking

What happened

SeaTunnel 2.3.8 + Apache Flink Flink engine + Streaming mode. Kafka source connector doesn't capture new data from topic, but there are no exception while execution. New data appears in topic, but doesn't transfer to Redis. In Batch mode everything works, but we need streaming mode with flink.

SeaTunnel Version

SeaTunnel 2.3.8

SeaTunnel Config

# Defining the runtime environment
env {
  parallelism = 1
  job.mode = "STREAMING"
  job.name=SeaTunnel_Job_Kafka_Redis_Streaming
  shade.identifier = "base64"
  execution.checkpoint.interval = 60000
}

source {
  Kafka {
    schema = {
      fields {
        age = "int"
      }
    }
    format = text
    field_delimiter = "#"
    topic = "registrations"
    bootstrap.servers = "_"
    commit_on_checkpoint=false
    poll.timeout = 1000
    start_mode = "earliest"
    kafka.config = {
      auto.offset.reset = "earliest"
      enable.auto.commit = "false"
      client.id = client_1
    }

  }  
}

sink {
  Redis {
    host = "_"
    port = 6379
    key = age
    data_type = hash
    auth = "_"
    batch_size = 1
  }
}

Running Command

slatunnel flink 15 command

Error Exception

No errors, task work without error, but there no new data

Zeta or Flink or Spark Version

Apache Flink

Java or Scala Version

No response

Screenshots

No response

Are you willing to submit PR?

Code of Conduct

AceGain commented 3 days ago

I have encountered the same problem, have you solved it?

sunxiaojian commented 2 days ago

give more log info

eee27 commented 2 days ago

same problem,but i use rocketmq->starrocks and mongo-cdc->starrocks,only few table have this problem

AceGain commented 2 days ago

give more log info

This pr seems to have been fixed in 7871.

sunxiaojian commented 2 days ago

give more log info

This pr seems to have been fixed in 7871.

@AceGain @maerman13 ok , If it has been resolved, please close it

sunxiaojian commented 2 days ago

same problem,but i use rocketmq->starrocks and mongo-cdc->starrocks,only few table have this problem

@eee27 Open an new issue, describe the problem and configuration clearly, preferably with logs