Description
See discussion here
TLDR: When users attempt to externally modify source connector offsets via the PATCH /offsets endpoint (introduced in KIP-875), type mismatches can occur between offsets passed to SourceConnector::alterOffsets and the offsets that are retrieved by connectors / tasks via an instance of OffsetStorageReader after the offsets have been modified. In order to prevent this type mismatch that could lead to subtle bugs in connectors, we could serialize + deserialize the offsets using the worker's internal JSON converter before invoking SourceConnector::alterOffsets.
Attachments
Issue Links
- links to