Skip to content

Conversation

@lyuboxa
Copy link

@lyuboxa lyuboxa commented Jan 16, 2024

Ensure destination get a task context which allows for offset resets. Add the ability to retry an reset offset

Set topic to the autogenerated schema name when schema cannot be established (NULL sink records/deletes) Add an serial offset generator

Ensure destination get a task context which allows for offset resets.
Add the ability to retry an reset offset

Set topic to the autogenerated schema name when schema cannot be established (NULL sink records/deletes)
Add an serial offset generator
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions

46.6% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

private void doWrite(Record rec) {
SinkRecord sinkRecord = toSinkRecord(rec);
private void doWriteWithOffsetRetry(Record rec) {
synchronized (taskCtx) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess this is because you think we might write multiple records at the same time. If that's the case, I don't think Conduit will ever send a batch before the previous one is "done".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants