4paradigm / 4paradigm/OpenMLDB

kafka-connector:If wrong data is sent to Kafka, the connector process will crash

Open
#2,295 2 comments 0 reactions 1 assignee Claimed by @dl239 View on GitHub
bug extensions high-priority
Dominant language
C++
Stars
1.7k
Forks
331
Avg merge
12d 12h
Merged PRs (30d)
1

Description

**Bug Description**
+ version:v0.6.0
If the wrong data is sent to Kafka, the data cannot be synchronized later. You need to delete topic and restart Kafka connect.

**Expected Behavior**
The error data will prompt the error information in the log, and the subsequent data can be synchronized normally

**Steps to Reproduce**

1.
2.
3.
4.

Contributor guide

Open the contributing guide

Research direction

Look at the Kafka connector code in the OpenMLDB repository, likely under connectors or streaming modules. Examine error handling around data ingestion and deserialization. The fix involves making the connector resilient to malformed data, logging errors, and continuing to process subsequent messages. Testing requires setting up a Kafka instance and sending both correct and incorrect data to verify the connector does not crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
kafka
Domain
data-engineering, databases, stream-processing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.