Skip to content

Conversation

@rnatarajan
Copy link

No description provided.

Add documentation for MilliSecondsBehindSource growing exponentially.

In the latter case it is also necessary to configure `connector.client.config.override.policy=ALL` option in Kafka Connect worker config file `connect-distributed.properties`. For Debezium `connect` Docker image the environment variable `CONNECT_CONNECTOR_CLIENT_CONFIG_OVERRIDE_POLICY` can be used to configure the option.

== Why MilliSecondsBehindSource is growing exponentially ?
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for this change, this sounds a bit concerning though. Can you provide some more context about this situation: what's your change event rate and your set-up in general? I don't quite agree to the statement on roundtrip times below; the connection throughput may be a limiting factor, but latency itself should be constant, also with larger roundtrip times between the DB and the Kafka Connect host.

Copy link
Author

Choose a reason for hiding this comment

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

Hi @gunnarmorling ,

Thanks for your comments.
MilliSecondsBehindSource growing exponentially issue occurred in our environment and I had reached out to Jiri Pechanec about this issue. Link to Gitter Thread with details - https://gitter.im/debezium/user?at=6050ec1ed1aee44e2def7b89

Created this pull request as Jiri had recommended contributing to the documentation.

Please let me know if you need more details.

Copy link
Member

Choose a reason for hiding this comment

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

Hi @rnatarajan so I definitely think adding an FAQ entry, particularly when MilliSecondsBehindSource is high is worthwhile given the scenario you describe, but I think perhaps the way this is conveyed, particularly with the use of "exponentially" gives a bad impression.

Perhaps, this could be reworded to something like "High MilliSecondsBehindSource when connector deployed with WAN connection to database" or similar. I think speaking in terms of higher than usual latency when using a WAN connection rather than a LAN connection is what we should strive for on this PR.

Copy link
Author

Choose a reason for hiding this comment

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

@Naros Thanks for the comment. I can reword the README.

Copy link
Member

Choose a reason for hiding this comment

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

Awesome, once you have, if you could just request a re-review of the PR that'd be wonderful.

@Naros
Copy link
Member

Naros commented Jan 6, 2026

❌ Developer Certificate of Origin (DCO) check failed.

Hi @rnatarajan, please sign off all commits with:

git commit -s

If pull request commits are not signed off, the pull request cannot be merged. For more information about why this is required, please see our blog about contribution requirement changes.

Signed-off-by: Rajkamal Natarajan <[email protected]>
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

⚡️ Deploying PR Preview...

@Naros
Copy link
Member

Naros commented Jan 6, 2026

Hi @rnatarajan please remove the merge commit.

@rnatarajan
Copy link
Author

Hi @rnatarajan please remove the merge commit.

Working on removing the merge commit.

@github-actions
Copy link

github-actions bot commented Jan 6, 2026

❌ Developer Certificate of Origin (DCO) check failed.

Hi @rnatarajan, please sign off all commits with:

git commit -s

If pull request commits are not signed off, the pull request cannot be merged. For more information about why this is required, please see our blog about contribution requirement changes.

1 similar comment
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

❌ Developer Certificate of Origin (DCO) check failed.

Hi @rnatarajan, please sign off all commits with:

git commit -s

If pull request commits are not signed off, the pull request cannot be merged. For more information about why this is required, please see our blog about contribution requirement changes.

@rnatarajan
Copy link
Author

@Naros , Rather than using the command line, I had used Git Web rebase + sign-off which has caused the Merge commit.
It would be straightforward to get the latest changes from develop and create a MR with just the comment added.

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.

3 participants